summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-04-14 17:31:33 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-04-14 17:31:33 +0000
commit9f2820d8889568fb49d4682008748b320c7aa222 (patch)
tree7438458796d346bf2501cb2464049260b071ea37 /usr/local/sbin
parent16ab9f44ad2623d3f3c751af415aab78fc76ee58 (diff)
downloadpfsense-9f2820d8889568fb49d4682008748b320c7aa222.zip
pfsense-9f2820d8889568fb49d4682008748b320c7aa222.tar.gz
* Fix help
* Fix exit/quit
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-xusr/local/sbin/pfSsh.php8
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 = "";
OpenPOWER on IntegriCloud