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
/
avr32
/
base-files
/
etc
/
diag.sh
1
#!/bin/sh
2
# Copyright (C) 2013 OpenWrt.org
3
4
. /lib/functions/leds.sh
5
6
set_state() {
7
status_led="sys"
8
9
case "$1" in
10
preinit)
11
status_led_blink_preinit
12
;;
13
14
failsafe)
15
status_led_blink_failsafe
16
;;
17
18
done)
19
status_led_on
20
;;
21
esac
22
}