aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-03 22:27:18 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-03 22:27:18 +0000
commit7514b6d73b7cad9e6f13ae9527eeee39630a10a8 (patch)
tree4f682ef6c89055dba483503886be32cbc5341851 /target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
parentf6113588706628f09282a00205f901baf0c72a20 (diff)
downloadupstream-7514b6d73b7cad9e6f13ae9527eeee39630a10a8.tar.gz
upstream-7514b6d73b7cad9e6f13ae9527eeee39630a10a8.tar.bz2
upstream-7514b6d73b7cad9e6f13ae9527eeee39630a10a8.zip
kirkwood: switch from uci-defaults to board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47733
Diffstat (limited to 'target/linux/kirkwood/base-files/etc/uci-defaults/01_leds')
-rw-r--r--target/linux/kirkwood/base-files/etc/uci-defaults/01_leds49
1 files changed, 0 insertions, 49 deletions
diff --git a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds b/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
deleted file mode 100644
index d6c0e1e15e..0000000000
--- a/target/linux/kirkwood/base-files/etc/uci-defaults/01_leds
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2012-2014 OpenWrt.org
-#
-
-. /lib/functions/uci-defaults.sh
-. /lib/kirkwood.sh
-
-board=$(kirkwood_board_name)
-
-case "$board" in
-"dockstar")
- ucidef_set_led_default "health" "health" "status:green:health" "1"
- ucidef_set_led_default "fault" "fault" "status:orange:fault" "1"
- ;;
-"linksys-audi")
- ucidef_set_led_default "power" "power" "audi:green:power" "1"
- ;;
-"linksys-viper")
- ucidef_set_led_default "health" "health" "viper:white:health" "1"
- ucidef_set_led_default "pulse" "pulse" "viper:white:pulse" "1"
- ;;
-"goflexhome" | \
-"goflexnet")
- ucidef_set_led_default "health" "health" "status:green:health" "1"
- ucidef_set_led_default "fault" "fault" "status:orange:fault" "0"
- ;;
-"ib62x0")
- ucidef_set_led_default "health" "health" "ib62x0:green:os" "1"
- ucidef_set_led_default "fault" "fault" "ib62x0:red:os" "1"
- ;;
-"pogo_e02")
- ucidef_set_led_default "health" "health" "pogo_e02:green:health" "1"
- ucidef_set_led_default "fault" "fault" "pogo_e02:orange:fault" "1"
- ;;
-"guruplug-server-plus")
- ucidef_set_led_timer "health" "health" "guruplug:red:health" "200" "800"
- ;;
-"sheevaplug" | \
-"sheevaplug-esata")
- ucidef_set_led_timer "health" "health" "sheevaplug:blue:health" "200" "800"
- ;;
-*)
- ;;
-esac
-
-ucidef_commit_leds
-
-exit 0