aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/files/lib/wifi/madwifi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/madwifi/files/lib/wifi/madwifi.sh')
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index e7e227bb70..8083612af9 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -240,10 +240,13 @@ config wifi-device $dev
# option txantenna 0
# option rxantenna 0
# option distance 2000
+# disable radio to prevent an open ap after reflashing:
+ option radio 0
+
config wifi-iface
option device $dev
-# option network lan
+ option network lan
option mode ap
option ssid OpenWrt
option hidden 0