12: Scripts
EMGâ„¢ Edge Management Gateway User Guide 260
clisession. The clisession will not display the Logout Banner as this may interfere with script
termination.
5. The script cannot contain commands which spawn or fork other commands, read or write files
on the EMG filesystem, or interrogate the EMG filesystem. The list of commands that are not
allowed for Expect scripts includes "fork", "open", "exp_open", "exec",
"system", "log_file", "pwd".
6. For scripts that return an exit code, the EMG will interpret an exit code of zero as a successful
exit code, and any non-zero exit code as an error. Non-zero exit codes are displayed (at the
CLI) or logged (for scripts that are run by the script scheduler).