1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-07 15:04:03 +02:00
openwrt-xburst/target/linux/brcm63xx/base-files/etc/diag.sh
florian 8a891d72ed [brcm63xx] register GPIO-connected LEDs for known boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-18 00:40:23 +00:00

13 lines
292 B
Bash
Executable File

#!/bin/sh
# Copyright (C) 2009 OpenWrt.org
set_state() {
case "$1" in
done)
[ -d /sys/class/leds/power ] && {
echo 1 >/sys/class/leds/power/brightness
}
;;
esac
}