Update nodemgmt-scripts.sh

This commit is contained in:
2019-02-03 18:59:37 -06:00
parent 915fe7c95a
commit 77ab09f12d

View File

@@ -422,18 +422,14 @@ service)
while : while :
do do
echo "" echo ""
echo " [1] Change Backup Location" echo " [1] Node Status"
echo " [2] Change MySQL User" echo " [2] Node Services"
echo " [3] Change MySQL Password"
echo " [4] Change MySQL Config File Location"
echo " [5] Change The Number of Backup Days to Keep"
echo "" echo ""
echo " [B] Run Backup" echo " [3] New Site"
echo " [L] List Backups" echo " [4] New Certificate"
echo " [D] Delete Backups" echo " [5] Renew Certificates"
echo "" echo ""
echo " [C] Add Crontab Entry to run every 3 Hours" echo " [6] Set folder permissions on nodes"
echo -e " ${idsCL[DarkGray]}(edit crontab manually to adjust the backup frequency)${idsCL[Default]}"
echo "" echo ""
echo " [Q] Quit" echo " [Q] Quit"
echo "" echo ""
@@ -442,8 +438,11 @@ service)
read -n 1 opt read -n 1 opt
echo "" echo ""
case $opt in case $opt in
1) WEBMIN_INSTALL 1)
INSTALL_MENU;; status
if [ ${action-x} ]; then exit 0; fi
read -n 1 -s -p "Press any key to continue"
gui;;
2) GLANCES_INSTALL 2) GLANCES_INSTALL
INSTALL_MENU;; INSTALL_MENU;;
3) X11VNC_INSTALL 3) X11VNC_INSTALL
@@ -452,10 +451,8 @@ service)
INSTALL_MENU;; INSTALL_MENU;;
5) LINUPX_UNINSTALL 5) LINUPX_UNINSTALL
INSTALL_MENU;; INSTALL_MENU;;
[Bb]) RUN_BACKUP;; 6) LINUPX_UNINSTALL
[Ll]) LIST_BACKUPS;; INSTALL_MENU;;
[Dd]) DELETE_MENU;;
[Cc]) ADD_CRONTAB;;
[Qq]) EXIT1 [Qq]) EXIT1
exit 1;; exit 1;;
*) echo "Thats an invaild option,"; *) echo "Thats an invaild option,";