diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-03 03:37:50 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-03 03:37:50 +0000 |
commit | c97a4133400c2db0057a68c850e6b5a8e597469f (patch) | |
tree | 813f8003b9dbe23a5605139ca7f77d610bc0fb0f | |
parent | 0968a06efe41e51a49a11d9f1021f1ef37c1545d (diff) | |
download | pfsense-c97a4133400c2db0057a68c850e6b5a8e597469f.zip pfsense-c97a4133400c2db0057a68c850e6b5a8e597469f.tar.gz |
Minor text updates
-rwxr-xr-x | usr/local/sbin/pfSsh.php | 15 |
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) { |