add option to shutoff softled
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 25 Sep 2008 19:19:32 +0000 (19:19 +0000)
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 25 Sep 2008 19:19:32 +0000 (19:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12709 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/madwifi/files/lib/wifi/madwifi.sh

index a3bab5b..1f540a0 100755 (executable)
@@ -182,6 +182,9 @@ enable_atheros() {
                config_get distance "$device" 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
                [ -n "$txpwr" ] && iwconfig "$ifname" txpower "${txpwr%%.*}"
 
This page took 0.033275 seconds and 4 git commands to generate.