openwrtv3/target/linux/cobalt/base-files/etc/diag.sh
Florian Fainelli 2bfa1ed82c cobalt: 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: 35662
2013-02-18 10:37:58 +00:00

17 lines
197 B
Bash

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