mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
use config_get_bool for outdoor mode
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15634 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -75,8 +75,7 @@ enable_atheros() {
|
|||||||
[ -z "$country" ] && country="0"
|
[ -z "$country" ] && country="0"
|
||||||
echo "$country" > /proc/sys/dev/$device/countrycode
|
echo "$country" > /proc/sys/dev/$device/countrycode
|
||||||
|
|
||||||
config_get outdoor "$device" outdoor
|
config_get_bool outdoor "$device" outdoor "0"
|
||||||
[ -z "$outdoor" ] && outdoor="0"
|
|
||||||
echo "$outdoor" > /proc/sys/dev/$device/outdoor
|
echo "$outdoor" > /proc/sys/dev/$device/outdoor
|
||||||
|
|
||||||
config_get channel "$device" channel
|
config_get channel "$device" channel
|
||||||
|
|||||||
Reference in New Issue
Block a user