From 6a546bcca569bdc59d857b04fcd7434b08df991b Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Fri, 12 Jun 2015 16:02:35 +0200 Subject: [PATCH] Removing wifi channel setting #28 --- post-install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post-install.sh b/post-install.sh index 0dd48c4..18945a9 100644 --- a/post-install.sh +++ b/post-install.sh @@ -79,6 +79,7 @@ $IPKG_INSTROOT/etc/init.d/dhcpcheck enable if [ -z "$IPKG_INSTROOT" ]; then echo "Enabling and configuring wifi device..." uci set wireless.@wifi-device[0].disabled=0 + uci delete wireless.radio0.channel uci commit wireless; wifi echo "Disabling default route and DNS server for lan network interface..." @@ -103,6 +104,7 @@ else uci set uhttpd.main.lua_prefix='/d3dapi' uci set wireless.@wifi-device[0].disabled=0 + uci delete wireless.radio0.channel # TODO: add firewall net uci set network.wlan=interface