From: Jo-Philipp Wich Date: Wed, 19 Aug 2009 01:45:44 +0000 (+0000) Subject: contrib/uci: fake an active wireless network in the shipped uci X-Git-Tag: 0.10.0~1174 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=ec57f9f5371f548e3742641ec3b1757a7f89a0fc contrib/uci: fake an active wireless network in the shipped uci --- diff --git a/contrib/uci/hostfiles/etc/config/wireless b/contrib/uci/hostfiles/etc/config/wireless index 4895797db..7e7d2d864 100644 --- a/contrib/uci/hostfiles/etc/config/wireless +++ b/contrib/uci/hostfiles/etc/config/wireless @@ -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 +