summaryrefslogtreecommitdiffstats
path: root/usr/bin
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2013-05-23 20:04:14 +0200
committerlassulus <lassulus@googlemail.com>2013-05-23 20:04:14 +0200
commit10842825252fa99b84cb42ad5962713c5f3c7866 (patch)
tree8608eb8ade7fbf7f0774cad31a86a0be4e697a71 /usr/bin
parent1647448443b3895d9f4125c76e68ac8e98477aeb (diff)
comments!
Diffstat (limited to 'usr/bin')
-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"