From f88e416b6441a611232f98a3f62f68c8eebff9af Mon Sep 17 00:00:00 2001 From: qtwrk Date: Wed, 19 Feb 2020 23:50:34 +0100 Subject: [PATCH] set watchdog default on and update some help info --- cyberpanel.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index 02dbea122..95ced4872 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -1082,10 +1082,10 @@ fi echo -e "\nWould you like to set up a WatchDog \e[31m(beta)\e[39m for Web service and Database service ?" echo -e "The watchdog script will be automatically started up after installation and server reboot" echo -e "If you want to kill the watchdog , run \e[31mwatchdog kill\e[39m" -echo -e "Please type Yes or no (with capital \e[31mY\e[39m):" +echo -e "Please type Yes or no (with capital \e[31mY\e[39m, default Yes):" printf "%s" read TMP_YN -if [[ $TMP_YN == "Yes" ]] ; then +if [[ $TMP_YN == "Yes" ]] || [[ $TMP_YN == "" ]] ; then WATCHDOG="ON" else WATCHDOG="OFF" @@ -1398,12 +1398,9 @@ echo " Panel password: $ADMIN_PASS " echo " WebAdmin console username: admin " echo " WebAdmin console password: $WEBADMIN_PASS " echo " " -echo " Please change your default admin password " -echo " If you need to reset your panel password, please run: " -echo " adminPass YOUR_NEW_PASSWORD " -echo " " -echo " If you change mysql password, please modify file in " -echo -e " \e[31m/etc/cyberpanel/mysqlPassword\e[39m with new password as well " +echo -e " Run \e[31mcyberpanel help\e[39m to get FAQ info" +echo -e " Run \e[31mcyberpanel upgrade\e[39m to upgrade it to latest version." +echo -e " Run \e[31mcyberpanel utility\e[39m to access some handy tools ." echo " " echo " Website : https://www.cyberpanel.net " echo " Forums : https://forums.cyberpanel.net "