@@ -31,15 +31,15 @@ if [ "${commandname}" != "INSTALL" ] && [ "${commandname}" != "UPDATE-LGSM" ] &&
3131 check_system_dir.sh
3232fi
3333
34- allowed_commands_array=(START DEBUG)
34+ allowed_commands_array=(DEBUG RESTART START )
3535for allowed_command in " ${allowed_commands_array[@]} " ; do
3636 if [ " ${allowed_command} " == " ${commandname} " ]; then
3737 check_executable.sh
3838 fi
3939done
4040
4141if [ " $( whoami) " != " root" ]; then
42- allowed_commands_array=(DEBUG START INSTALL)
42+ allowed_commands_array=(DEBUG RESTART START INSTALL)
4343 for allowed_command in " ${allowed_commands_array[@]} " ; do
4444 if [ " ${allowed_command} " == " ${commandname} " ]; then
4545 check_glibc.sh
@@ -54,21 +54,21 @@ for allowed_command in "${allowed_commands_array[@]}"; do
5454 fi
5555done
5656
57- allowed_commands_array=(BACKUP DEBUG DETAILS START UPDATE)
57+ allowed_commands_array=(BACKUP DEBUG DETAILS RESTART START UPDATE)
5858for allowed_command in " ${allowed_commands_array[@]} " ; do
5959 if [ " ${allowed_command} " == " ${commandname} " ]; then
6060 check_deps.sh
6161 fi
6262done
6363
64- allowed_commands_array=(CONSOLE DEBUG MONITOR START STOP)
64+ allowed_commands_array=(CONSOLE DEBUG MONITOR RESTART START STOP)
6565for allowed_command in " ${allowed_commands_array[@]} " ; do
6666 if [ " ${allowed_command} " == " ${commandname} " ]; then
6767 check_config.sh
6868 fi
6969done
7070
71- allowed_commands_array=(DEBUG DETAILS DEV-QUERY-RAW MONITOR POST_DETAILS START STOP POST-DETAILS)
71+ allowed_commands_array=(DEBUG DETAILS DEV-QUERY-RAW MONITOR POST_DETAILS RESTART START STOP POST-DETAILS)
7272for allowed_command in " ${allowed_commands_array[@]} " ; do
7373 if [ " ${allowed_command} " == " ${commandname} " ]; then
7474 if [ -z " ${installflag} " ]; then
@@ -77,7 +77,7 @@ for allowed_command in "${allowed_commands_array[@]}"; do
7777 fi
7878done
7979
80- allowed_commands_array=(DEBUG START UPDATE VALIDATE CHECK-UPDATE)
80+ allowed_commands_array=(DEBUG RESTART START UPDATE VALIDATE CHECK-UPDATE)
8181for allowed_command in " ${allowed_commands_array[@]} " ; do
8282 if [ " ${allowed_command} " == " ${commandname} " ]; then
8383 if [ " ${appid} " ]; then
@@ -86,21 +86,21 @@ for allowed_command in "${allowed_commands_array[@]}"; do
8686 fi
8787done
8888
89- allowed_commands_array=(CHANGE-PASSWORD DETAILS MONITOR START STOP UPDATE VALIDATE POST-DETAILS)
89+ allowed_commands_array=(CHANGE-PASSWORD DETAILS MONITOR RESTART START STOP UPDATE VALIDATE POST-DETAILS)
9090for allowed_command in " ${allowed_commands_array[@]} " ; do
9191 if [ " ${allowed_command} " == " ${commandname} " ]; then
9292 check_status.sh
9393 fi
9494done
9595
96- allowed_commands_array=(DEBUG START INSTALL)
96+ allowed_commands_array=(DEBUG RESTART START INSTALL)
9797for allowed_command in " ${allowed_commands_array[@]} " ; do
9898 if [ " ${allowed_command} " == " ${commandname} " ]; then
9999 check_system_requirements.sh
100100 fi
101101done
102102
103- allowed_commands_array=(DETAILS MONITOR START STOP UPDATE VALIDATE POST-DETAILS)
103+ allowed_commands_array=(DETAILS MONITOR RESTART START STOP UPDATE VALIDATE POST-DETAILS)
104104for allowed_command in " ${allowed_commands_array[@]} " ; do
105105 if [ " ${allowed_command} " == " ${commandname} " ]; then
106106 check_gamedig.sh
0 commit comments