madwifi: fix crash on 2.6.30
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / base-files / etc / diag.sh
1 #!/bin/sh
2 # Copyright (C) 2009 OpenWrt.org
3
4 set_state() {
5 case "$1" in
6 done)
7 [ -d /sys/class/leds/power ] && {
8 echo 1 >/sys/class/leds/power/brightness
9 }
10 ;;
11 esac
12 }