summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-03 03:37:56 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-03 03:37:56 +0000
commit2ae831274d6a178567b1d5a4330af5e5eb4e2894 (patch)
tree0c481f6ca3263ec710edc11fc4f0068f3023c0db /usr/local
parent03b85ded5b2c395275a112c18d8ebbe7ecde1606 (diff)
downloadpfsense-2ae831274d6a178567b1d5a4330af5e5eb4e2894.zip
pfsense-2ae831274d6a178567b1d5a4330af5e5eb4e2894.tar.gz
Minor text updates
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/sbin/pfSsh.php15
1 files changed, 10 insertions, 5 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php
index 5d8f31a..ca3e82f 100755
--- a/usr/local/sbin/pfSsh.php
+++ b/usr/local/sbin/pfSsh.php
@@ -19,15 +19,20 @@ echo ".\n\n";
$shell_active = true;
-echo "Example commands:\n\n";
-echo " print_r(\$config);\n";
+echo "\nExample commands:\n";
-echo "\n/* to enable SSH */\n";
-echo "\$config['system']['enablesshd'] = true;\n";
+echo "\n/* to output a configuration array */\n";
+echo "nprint_r(\$config);\n";
+echo "\n/* to enable multiline input mode */\n";
echo "multiline\n";
+
+echo "\n/* to exit the php pfSense shell */\n";
echo "exit\n";
+echo "\n/* to enable SSH */\n";
+echo "\$config['system']['enablesshd'] = true;\n";
+
echo "\n/* change OPTX to the OPT interface name such as BACKHAUL */\n";
echo "\$config['interfaces']['optx']['wireless']['standard'] = \"11a\";\n";
echo "\$config['interfaces']['optx']['wireless']['mode'] = \"hostap\";\n";
@@ -50,7 +55,7 @@ echo "\$config['interfaces']['wan']['disabled'] = false;\n";
echo "\$config['interfaces']['wan']['ipaddr'] = \"192.168.100.1\";\n";
echo "\$config['interfaces']['wan']['subnet'] = \"24\";\n";
-echo "/* to save out the new configuration (config.xml) */\n";
+echo "\n/* to save out the new configuration (config.xml) */\n";
echo "write_config();\n";
while($shell_active == true) {
OpenPOWER on IntegriCloud