projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
base-files: diag does not need to insmod any drivers, procd already did it for us
[openwrt.git]
/
target
/
linux
/
adm5120
/
base-files
/
etc
/
diag.sh
1
#!/bin/sh
2
# Copyright (C) 2007-2013 OpenWrt.org
3
4
. /lib/functions/leds.sh
5
. /lib/adm5120.sh
6
7
set_state() {
8
case "$1" in
9
preinit)
10
status_led_blink_preinit
11
;;
12
failsafe)
13
status_led_blink_failsafe
14
;;
15
done)
16
status_led_on
17
;;
18
esac
19
}