From a029213895fdcf18a97e18bb1b4154f9f5d0eb8f Mon Sep 17 00:00:00 2001 From: Marek Miklewicz Date: Sat, 3 Jun 2023 14:43:51 +0200 Subject: [PATCH] Update dapostinstall.sh --- dapostinstall.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dapostinstall.sh b/dapostinstall.sh index 797140d..4e5ff55 100644 --- a/dapostinstall.sh +++ b/dapostinstall.sh @@ -342,7 +342,9 @@ echo -e "\e[96mMam wszystkie informacje - rozpoczynam konfiguracje\e[0m" echo "Generowanie maila powitalnego" DA_ADMINPASS=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1) -sh da_cli.sh changeuserpass admin $DA_ADMINPASS +cd $DAPOSTINSTALL_DIR +chmod 755 da_cli.sh +./da_cli.sh changeuserpass admin $DA_ADMINPASS DA_OPTIONSCONF=$CBDIR/options.conf DA_USERCONF=$DADIR/data/users/admin/user.conf DA_HOSTNAME=$(hostname -f)