contrib/uci: fake an active wireless network in the shipped uci
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 19 Aug 2009 01:45:44 +0000 (01:45 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 19 Aug 2009 01:45:44 +0000 (01:45 +0000)
contrib/uci/hostfiles/etc/config/wireless

index 4895797..7e7d2d8 100644 (file)
@@ -1,9 +1,7 @@
 config wifi-device  wifi0
        option type     atheros
        option channel  auto
-
-       # REMOVE THIS LINE TO ENABLE WIFI:
-       option disabled 1
+       option disabled 0
 
 config wifi-iface
        option device   wifi0
@@ -11,3 +9,8 @@ config wifi-iface
        option mode     ap
        option ssid     OpenWrt
        option encryption none
+
+       # Fake active wifi
+       option ifname   ath0
+       option up               1
+