summaryrefslogtreecommitdiffstats
path: root/target/linux/cobalt/base-files/etc/diag.sh
blob: 60849855dc2fcf4f4e7b288403b05e6460220c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Copyright (C) 2009-2013 OpenWrt.org

. /lib/functions/leds.sh

status_led="qube::front"

set_state() {
	case "$1" in
	preinit)
		status_led_on
		;;
	done)
		status_led_off
		;;
	esac
}