aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/rdc/base-files/etc/diag.sh
blob: 03796d778491a9cd9a8cb9e8ce16a59dc11a5081 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# Copyright (C) 2007-2013 OpenWrt.org

. /lib/functions/leds.sh

status_led="rdc321x:dmz"

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