use config_get_bool for outdoor mode

SVN-Revision: 15634
owl
Felix Fietkau 2009-05-06 12:12:29 +00:00
parent 56ae52b008
commit 4cdb76c219
1 changed files with 1 additions and 2 deletions

View File

@ -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