mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-07 14:09:29 -05:00
use config_get_bool for outdoor mode
SVN-Revision: 15634
This commit is contained in:
@@ -75,8 +75,7 @@ enable_atheros() {
|
||||
[ -z "$country" ] && country="0"
|
||||
echo "$country" > /proc/sys/dev/$device/countrycode
|
||||
|
||||
config_get outdoor "$device" outdoor
|
||||
[ -z "$outdoor" ] && outdoor="0"
|
||||
config_get_bool outdoor "$device" outdoor "0"
|
||||
echo "$outdoor" > /proc/sys/dev/$device/outdoor
|
||||
|
||||
config_get channel "$device" channel
|
||||
|
||||
Reference in New Issue
Block a user