1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-18 16:55:19 +02:00
openwrt-xburst/target/linux/kirkwood/base-files/etc/uci-defaults/leds

24 lines
353 B
Plaintext
Raw Normal View History

#!/bin/sh
#
# Copyright (C) 2012 OpenWrt.org
#
. /lib/functions/uci-defaults.sh
. /lib/kirkwood.sh
hardware=$(kirkwood_hardware_name)
case "$hardware" in
"Seagate FreeAgent DockStar")
ucidef_set_led_netdev "eth0" "dockstar:orange:misc" "eth0"
ucidef_set_led_default "health" "dockstar:green:health" "1"
;;
*)
;;
esac
ucidef_commit_leds
exit 0