From 9f2820d8889568fb49d4682008748b320c7aa222 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 14 Apr 2008 17:31:33 +0000 Subject: * Fix help * Fix exit/quit --- usr/local/sbin/pfSsh.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'usr/local/sbin') 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 = ""; -- cgit v1.1