Openwrt/target/linux/rb532/base-files/etc/diag.sh
Florian Fainelli 677714309b rb532: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35663
2013-02-18 10:38:02 +00:00

18 lines
200 B
Bash

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