diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-05-03 03:55:04 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-05-03 03:55:04 +0000 |
commit | 8ea3c329710aa6630e1857539689fa13d19f8225 (patch) | |
tree | 5d27d50a47b063829553c0fe54c855d926e1e324 | |
parent | c64bccc058aab5f76f4306fe970999f87a9e3e88 (diff) | |
download | pfsense-8ea3c329710aa6630e1857539689fa13d19f8225.zip pfsense-8ea3c329710aa6630e1857539689fa13d19f8225.tar.gz |
* Correct printr typo.
* Show how to output the interfaces and dhcpd portions of the configuration
-rwxr-xr-x | usr/local/sbin/pfSsh.php | 8 |
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"; |