From 2ae831274d6a178567b1d5a4330af5e5eb4e2894 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 3 May 2007 03:37:56 +0000 Subject: Minor text updates --- usr/local/sbin/pfSsh.php | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'usr/local/sbin/pfSsh.php') 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) { -- cgit v1.1