summaryrefslogtreecommitdiff
path: root/target/linux/rb532/base-files/etc/diag.sh
blob: 482b8e99539809066bebf368998fb3e3ecbc5bd4 (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="rb500led:amber"

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