summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rwxr-xr-xusr/bin/autowifi1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/bin/autowifi b/usr/bin/autowifi
index 876dbc15..e1528478 100755
--- a/usr/bin/autowifi
+++ b/usr/bin/autowifi
@@ -2,6 +2,7 @@
iface=@wifi-iface[0]
radio=$(uci get wireless.${iface}.device)
connect_wifi(){
+ # channel ssid encryption key
ifconfig wlan0 up
uci set wireless.${radio}.channel=$1
uci set "wireless.${iface}.ssid=$2"