Skip to content

Commit 7a636a8

Browse files
committed
Fixed Missing Menu Options
1 parent b61cc4a commit 7a636a8

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

scripts/menu/enginescript-menu.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ while true
5151
echo ""
5252

5353
PS3='Please enter your choice: '
54-
options=("Configure New Domain" "Security Tools" "Server & Site Tools" "Update Software" "Exit EngineScript")
54+
options=("Configure New Domain" "Security Tools" "Server Tools" "Update Software" "View Server Logs" "Exit EngineScript")
5555
select opt in "${options[@]}"
5656
do
5757
case $opt in
@@ -63,14 +63,18 @@ while true
6363
/usr/local/bin/enginescript/scripts/menu/security-tools-menu.sh
6464
break
6565
;;
66-
"Server & Site Tools")
66+
"Server Tools")
6767
/usr/local/bin/enginescript/scripts/menu/server-site-tools-menu.sh
6868
break
6969
;;
7070
"Update Software")
7171
/usr/local/bin/enginescript/scripts/menu/update-menu.sh
7272
break
7373
;;
74+
"View Server Logs")
75+
/usr/local/bin/enginescript/scripts/menu/logs-menu.sh
76+
break
77+
;;
7478
"Exit EngineScript")
7579
exit
7680
;;

scripts/menu/server-site-tools-menu.sh

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ fi
2828
while true
2929
do
3030
clear
31-
echo -e "Server & Site Tools" | boxes -a c -d shell -p a1l2
31+
echo -e "Server Tools" | boxes -a c -d shell -p a1l2
3232
echo ""
3333
echo ""
3434
PS3='Please enter your choice: '
35-
secoptions=("Configure New Domain" "Update Domain Vhost File" "View/Edit EngineScript Install Options File" "View Server Logs" "WP-CLI Doctor" "Remove Domain (DANGER)" "Exit Server & Site Tools")
35+
secoptions=("Configure New Domain" "MariaDB-Check Database Optimizer" "MySQLTuner" "Update Domain Vhost File" "View/Edit EngineScript Install Options File" "Remove Domain (DANGER)" "Exit Server Tools")
3636
select secopt in "${secoptions[@]}"
3737
do
3838
case $secopt in
@@ -57,15 +57,11 @@ while true
5757
nano /home/EngineScript/enginescript-install-options.txt
5858
break
5959
;;
60-
"View Server Logs")
61-
/usr/local/bin/enginescript/scripts/menu/logs-menu.sh
62-
break
63-
;;
6460
"Remove Domain (DANGER)")
6561
/usr/local/bin/enginescript/scripts/install/vhost/vhost-remove.sh
6662
break
6763
;;
68-
"Exit Server & Site Tools")
64+
"Exit Server Tools")
6965
exit
7066
;;
7167
*) echo invalid option;;

0 commit comments

Comments
 (0)