summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-11-22 06:22:15 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-11-22 06:22:15 +0000
commit328ab0aef407edb3b1201410c9315d47c50c86de (patch)
treee9acfa4404d52ca5021785316e266e9a545f8057 /usr
parent02105da42bf7052a68d70e8c9c5af028f3f049b0 (diff)
downloadpfsense-328ab0aef407edb3b1201410c9315d47c50c86de.zip
pfsense-328ab0aef407edb3b1201410c9315d47c50c86de.tar.gz
Collect the help file into one variable and then pipe through more()
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/sbin/pfSsh.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php
index 25e66a1..9d4d46a 100755
--- a/usr/local/sbin/pfSsh.php
+++ b/usr/local/sbin/pfSsh.php
@@ -108,32 +108,32 @@ $show_help_text = <<<EOF
\$config['system']['enablesshd'] = true;
/* change OPTX to the OPT interface name such as BACKHAUL */
- \$config['interfaces']['optx']['wireless']['standard'] = \"11a\
- \$config['interfaces']['optx']['wireless']['mode'] = \"hostap\
- \$config['interfaces']['optx']['wireless']['channel'] = \"6\
+ \$config['interfaces']['optx']['wireless']['standard'] = "11a"
+ \$config['interfaces']['optx']['wireless']['mode'] = "hostap"
+ \$config['interfaces']['optx']['wireless']['channel'] = "6"
/* to enable dhcp server for an optx interface */
\$config['dhcpd']['optx']['enable'] = true;
- \$config['dhcpd']['optx']['range']['from'] = \"192.168.31.100\
- \$config['dhcpd']['optx']['range']['to'] = \"192.168.31.150\
+ \$config['dhcpd']['optx']['range']['from'] = "192.168.31.100"
+ \$config['dhcpd']['optx']['range']['to'] = "192.168.31.150"
/* to disable the firewall filter */
\$config['system']['disablefilter'] = true;
/* to enable an interface and set it for dhcp */
\$config['interfaces']['optx']['disabled'] = false;
- \$config['interfaces']['optx']['ipaddr'] = \"dhcp\
+ \$config['interfaces']['optx']['ipaddr'] = "dhcp"
/* to enable an interface and set a static ip address */
\$config['interfaces']['wan']['disabled'] = false;
- \$config['interfaces']['wan']['ipaddr'] = \"192.168.100.1\
- \$config['interfaces']['wan']['subnet'] = \"24\
+ \$config['interfaces']['wan']['ipaddr'] = "192.168.100.1"
+ \$config['interfaces']['wan']['subnet'] = "24"
/* to save out the new configuration (config.xml) */
write_config();
/* to reboot the system after saving */
- system_reboot_sync();\n
+ system_reboot_sync();
EOF;
OpenPOWER on IntegriCloud