|
@@ -42,6 +42,14 @@ do
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|
|
|
|
|
|
|
|
|
|
+local allowed_commands_array=( command_console.sh command_debug.sh command_details.sh command_monitor.sh command_start.sh command_stop.sh )
|
|
|
|
|
+for allowed_command in "${allowed_commands_array[@]}"
|
|
|
|
|
+do
|
|
|
|
|
+ if [ "${allowed_command}" == "${function_selfname}" ]; then
|
|
|
|
|
+ check_config.sh
|
|
|
|
|
+ fi
|
|
|
|
|
+done
|
|
|
|
|
+
|
|
|
local allowed_commands_array=( command_debug.sh command_details.sh command_monitor.sh command_start.sh command_stop.sh )
|
|
local allowed_commands_array=( command_debug.sh command_details.sh command_monitor.sh command_start.sh command_stop.sh )
|
|
|
for allowed_command in "${allowed_commands_array[@]}"
|
|
for allowed_command in "${allowed_commands_array[@]}"
|
|
|
do
|
|
do
|
|
@@ -60,13 +68,7 @@ do
|
|
|
fi
|
|
fi
|
|
|
done
|
|
done
|
|
|
|
|
|
|
|
-local allowed_commands_array=( command_console.sh command_debug.sh command_details.sh command_monitor.sh command_start.sh command_stop.sh )
|
|
|
|
|
-for allowed_command in "${allowed_commands_array[@]}"
|
|
|
|
|
-do
|
|
|
|
|
- if [ "${allowed_command}" == "${function_selfname}" ]; then
|
|
|
|
|
- check_config.sh
|
|
|
|
|
- fi
|
|
|
|
|
-done
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
local allowed_commands_array=( command_details.sh command_monitor.sh command_start.sh command_stop.sh command_ts3_server_pass.sh command_update.sh command_details.sh command_validate.sh )
|
|
local allowed_commands_array=( command_details.sh command_monitor.sh command_start.sh command_stop.sh command_ts3_server_pass.sh command_update.sh command_details.sh command_validate.sh )
|
|
|
for allowed_command in "${allowed_commands_array[@]}"
|
|
for allowed_command in "${allowed_commands_array[@]}"
|