diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-03-28 10:44:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-03-28 10:44:31 +0000 |
commit | 40c5bee0cd2b6849690211a04acab5a7a6ba1a5b (patch) | |
tree | b4de7f26c26cba70ed5aa1748a5f7fab0d71778f /target/linux/cns21xx/base-files/etc | |
parent | 2d13d8dc767142e4b75aabd9264e2749518b1d28 (diff) | |
download | upstream-40c5bee0cd2b6849690211a04acab5a7a6ba1a5b.tar.gz upstream-40c5bee0cd2b6849690211a04acab5a7a6ba1a5b.tar.bz2 upstream-40c5bee0cd2b6849690211a04acab5a7a6ba1a5b.zip |
cns21xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45078
Diffstat (limited to 'target/linux/cns21xx/base-files/etc')
-rw-r--r-- | target/linux/cns21xx/base-files/etc/diag.sh | 32 | ||||
-rw-r--r-- | target/linux/cns21xx/base-files/etc/uci-defaults/01_leds | 21 |
2 files changed, 0 insertions, 53 deletions
diff --git a/target/linux/cns21xx/base-files/etc/diag.sh b/target/linux/cns21xx/base-files/etc/diag.sh deleted file mode 100644 index d61f467267..0000000000 --- a/target/linux/cns21xx/base-files/etc/diag.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# Copyright (C) 2010-2013 OpenWrt.org - -. /lib/functions/leds.sh -. /lib/cns21xx.sh - -get_status_led() { - case $(get_board_name) in - ns-k330) - status_led="ns-k330:red:link" - ;; - esac; -} - -set_state() { - get_status_led - - case "$1" in - preinit) - status_led_blink_preinit - ;; - failsafe) - status_led_blink_failsafe - ;; - preinit_regular) - status_led_blink_preinit_regular - ;; - done) - status_led_on - ;; - esac -} diff --git a/target/linux/cns21xx/base-files/etc/uci-defaults/01_leds b/target/linux/cns21xx/base-files/etc/uci-defaults/01_leds deleted file mode 100644 index 7d7e49fd2e..0000000000 --- a/target/linux/cns21xx/base-files/etc/uci-defaults/01_leds +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2010 OpenWrt.org -# - -. /lib/functions/uci-defaults.sh -. /lib/cns21xx.sh - -board=$(get_board_name) - -case "$board" in -"ns-k330") - ucidef_set_led_netdev "eth_orange" "ETH (orange)" "ns-k330:orange:eth" "eth0" - ucidef_set_led_usbdev "usb1" "USB1" "ns-k330:green:usb1" "1-1" - ucidef_set_led_usbdev "usb2" "USB2" "ns-k330:green:usb2" "1-2" - ;; -esac - -ucidef_commit_leds - -exit 0 |