mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 02:29:01 +00:00
add option to shutoff softled
SVN-Revision: 12709
This commit is contained in:
parent
3c8963aa9b
commit
b42c11bb48
@ -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
Block a user