package/cyassl: refresh patches
[openwrt.git] / target / linux / cobalt / base-files / etc / diag.sh
1 #!/bin/sh
2 # Copyright (C) 2009 OpenWrt.org
3
4 set_state() {
5 case "$1" in
6 preinit)
7 [ -d /sys/class/leds/qube-front ] && {
8 echo none > /sys/class/leds/qube-front/trigger
9 echo 255 > /sys/class/leds/qube-front/brightness
10 }
11 ;;
12 done)
13 [ -d /sys/class/leds/qube-front ] && {
14 echo 0 > /sys/class/leds/qube-front/brightness
15 }
16 ;;
17 esac
18 }
This page took 0.045587 seconds and 5 git commands to generate.