mirror of https://github.com/hak5/openwrt-owl.git
parent
56ae52b008
commit
4cdb76c219
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue