openwrt/target/linux/rb532/base-files/etc/diag.sh

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
}