add option to shutoff softled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12709 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
6eee1adfd4
commit
4a580a5d1d
|
@ -182,6 +182,9 @@ enable_atheros() {
|
||||||
config_get distance "$device" distance
|
config_get distance "$device" distance
|
||||||
[ -n "$distance" ] && athctrl -i "$device" -d "$distance" >&-
|
[ -n "$distance" ] && athctrl -i "$device" -d "$distance" >&-
|
||||||
|
|
||||||
|
config_get_bool softled "$device" softled 1
|
||||||
|
[ -n "$softled" ] && sysctl -w dev."$device".softled="$softled" >&-
|
||||||
|
|
||||||
config_get txpwr "$vif" txpower
|
config_get txpwr "$vif" txpower
|
||||||
[ -n "$txpwr" ] && iwconfig "$ifname" txpower "${txpwr%%.*}"
|
[ -n "$txpwr" ] && iwconfig "$ifname" txpower "${txpwr%%.*}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue