summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-03 03:54:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-03 03:54:57 +0000
commitc5f17b2bce9b49a012fca001ba9210592b9e3af9 (patch)
treedc12d1e3cb11cbcd40ddff5fe1e7d446f74d0b77 /usr/local
parent3c09eaf59a479b08bbf34174f9d16168d96ca08c (diff)
downloadpfsense-c5f17b2bce9b49a012fca001ba9210592b9e3af9.zip
pfsense-c5f17b2bce9b49a012fca001ba9210592b9e3af9.tar.gz
* Correct printr typo. * Show how to output the interfaces and dhcpd portions of the configuration
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/sbin/pfSsh.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php
index 565aa4d..5345e3e 100755
--- a/usr/local/sbin/pfSsh.php
+++ b/usr/local/sbin/pfSsh.php
@@ -22,7 +22,13 @@ $shell_active = true;
echo "\nExample commands:\n";
echo "\n/* to output a configuration array */\n";
-echo "nprint_r(\$config);\n";
+echo "print_r(\$config);\n";
+
+echo "\n/* to output the interfaces configuration portion of the configuration */\n";
+echo "print_r(\$config['interfaces']);\n";
+
+echo "\n/* to output the dhcp server configuration */\n";
+echo "print_r(\$config['dhcpd']);\n";
echo "\n/* to enable multiline input mode */\n";
echo "multiline\n";
OpenPOWER on IntegriCloud