diff options
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/sbin/pfSsh.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php index 793706d..0363360 100755 --- a/usr/local/sbin/pfSsh.php +++ b/usr/local/sbin/pfSsh.php @@ -193,6 +193,14 @@ while($shell_active == true) { continue; } } + if($first_command == "exit" or $first_command == "quit") { + die; + } + if($first_command == "help" or $first_command == "?") { + show_help(); + $playbackbuffer = ""; + continue; + } if($first_command == "exec" or $first_command == "exec;") { playback_text($playbackbuffer); $playbackbuffer = ""; |