openwrt/target/linux/brcm63xx/base-files/etc/diag.sh

13 lines
292 B
Bash
Raw Normal View History

#!/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
}