@@ -176,7 +176,7 @@ if [ ! -f "$INIT_DATE_FILE" ]; then
176176 select yn in " Yes" " No" ; do
177177 case $yn in
178178 Yes) break ;;
179- No) exit 1 ;;
179+ No) printf ' \n.. Installation canceled!\n ' ; exit 1 ;;
180180 esac ; done
181181fi
182182
238238 print_not_supported_os
239239fi
240240
241+ printf ' \n### Install current Salt Sources ..\n'
241242check_salt_repo
242243
243-
244244printf ' \n### Update System ..\n'
245245" $PKGMNGR " -y update
246246printf ' \n'
@@ -249,7 +249,7 @@ printf '\n'
249249printf ' \n### Install Basic Software ..\n'
250250" $PKGMNGR " -y install git salt-minion
251251
252- # run salt-minion only as masterless. disable the service:
252+ # run salt-minion only as masterless and also disable the service
253253systemctl disable salt-minion ; systemctl stop salt-minion &
254254
255255
@@ -281,10 +281,12 @@ printf '\n### Backup old User configs ..\n'
281281cp -vf /root/.bashrc /root/.bashrc_bak > /dev/null 2>&1
282282test -f /root/.bash_aliases && cp -vf /root/.bash_aliases /root/.bash_aliases_bak > /dev/null 2>&1
283283mv -vf /etc/inputrc /etc/inputrc_bak > /dev/null 2>&1
284+ printf ' \nOK.\n'
284285
285286
286287# ensure uci and /etc/config/ffdd are present
287288printf ' \n### Check uci Setup ..\n'
289+
288290# uci config
289291if [ ! -f /etc/config/ffdd ]; then
290292 printf ' \n# Create New /etc/config/ffdd ..\n'
@@ -365,7 +367,7 @@ _init_run='0'
365367if [ -f " $INIT_DATE_FILE " ]; then
366368 printf ' \n### run salt ..\n'
367369else
368- printf ' \n### Start Initial System .. please wait! Coffee Time ~ 10min ..\n'
370+ printf ' \n### Start Initial System .. please wait! Coffee Time ~ 5- 10min ..\n'
369371 printf ' # Please do not delete this file!\n#\nFFDD-Server - INIT DATE: %s\n' " $( date -u) " > " $INIT_DATE_FILE "
370372 chmod 600 " $INIT_DATE_FILE " ; chattr +i " $INIT_DATE_FILE "
371373 _init_run=' 1'
0 commit comments