mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 15:32:33 +00:00
13 lines
292 B
Bash
13 lines
292 B
Bash
|
#!/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
|
||
|
}
|