summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-05-03 04:51:34 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-05-03 04:51:34 +0000
commitefb9a19cf363339916eb042f6750f3fbc5472b0f (patch)
tree3af275bb21403ea277ae0b6e25c909fdb36e00b1 /usr/local/sbin
parentf49c8adae3e6a58027c1fd915f5d81e99c08d722 (diff)
downloadpfsense-efb9a19cf363339916eb042f6750f3fbc5472b0f.zip
pfsense-efb9a19cf363339916eb042f6750f3fbc5472b0f.tar.gz
Show how to output the wireless options such as channels, modes, etc.
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-xusr/local/sbin/pfSsh.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/sbin/pfSsh.php b/usr/local/sbin/pfSsh.php
index c9b92ca..002da35 100755
--- a/usr/local/sbin/pfSsh.php
+++ b/usr/local/sbin/pfSsh.php
@@ -36,6 +36,9 @@ echo "multiline\n";
echo "\n/* to exit the php pfSense shell */\n";
echo "exit\n";
+echo "\n/* to output supported wireless modes for an interface */\n";
+echo "print_r(get_wireless_modes(\"ath0\"));\n";
+
echo "\n/* to enable SSH */\n";
echo "\$config['system']['enablesshd'] = true;\n";
OpenPOWER on IntegriCloud