* Daniel Golle <daniel.go...@gmail.com> [10.03.2013 18:00]: > > maybe you can set it via uci (without commiting it), > > so it survives any wifi action _and_ can be overidden... > > technically that's not that easy, because tplink_board_detect is called before > wifi detect during firstboot. Therefore /etc/config/wireless doesn't exist > yet. > Integrating this into /lib/wifi/mac80211.sh is also ugly, because it's ar71xx > specific.
this is easy: (enforce regdomain, if user has not defined it) [ -e /etc/config/wireless ] && [ [ -z "$( uci get wireless.radio0.country )" ] && { uci set wireless.radio0.country=IL } } bye, bastian _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel