openwrtv3/target/linux/x86/rdc/base-files/etc/diag.sh
Florian Fainelli 1dd9e661be x86/rdc: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35664
2013-02-18 10:38:05 +00:00

17 lines
197 B
Bash

#!/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
}