summaryrefslogtreecommitdiff
path: root/target/linux/mvebu/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mvebu/base-files/etc')
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/diag.sh29
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/uci-defaults/01_leds22
-rw-r--r--target/linux/mvebu/base-files/etc/uci-defaults/02_network29
3 files changed, 0 insertions, 80 deletions
diff --git a/target/linux/mvebu/base-files/etc/diag.sh b/target/linux/mvebu/base-files/etc/diag.sh
deleted file mode 100755
index 07570b9..0000000
--- a/target/linux/mvebu/base-files/etc/diag.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2014 OpenWrt.org
-
-. /lib/functions/leds.sh
-. /lib/mvebu.sh
-
-get_status_led() {
- case $(mvebu_board_name) in
- armada-xp-mamba)
- status_led="mamba:white:power"
- ;;
- esac
-}
-
-set_state() {
- get_status_led
-
- case "$1" in
- preinit)
- status_led_blink_preinit
- ;;
- failsafe)
- status_led_blink_failsafe
- ;;
- done)
- status_led_on
- ;;
- esac
-}
diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds b/target/linux/mvebu/base-files/etc/uci-defaults/01_leds
deleted file mode 100755
index 770bb0a..0000000
--- a/target/linux/mvebu/base-files/etc/uci-defaults/01_leds
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-
-. /lib/functions/uci-defaults.sh
-. /lib/mvebu.sh
-
-board=$(mvebu_board_name)
-
-case "$board" in
-armada-xp-mamba)
- ucidef_set_led_netdev "wan" "WAN" "tlc59116:1" "eth1"
- ucidef_set_led_usbdev "usb1" "USB1" "tlc59116:5" "1-1"
- ucidef_set_led_usbdev "usb2" "USB2" "tlc59116:6" "2-2"
- ;;
-
-esac
-
-ucidef_commit_leds
-
-exit 0
diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/02_network b/target/linux/mvebu/base-files/etc/uci-defaults/02_network
deleted file mode 100644
index 8b1ed6a..0000000
--- a/target/linux/mvebu/base-files/etc/uci-defaults/02_network
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-
-[ -e /etc/config/network ] && exit 0
-
-touch /etc/config/network
-
-. /lib/functions/uci-defaults.sh
-. /lib/mvebu.sh
-
-ucidef_set_interface_loopback
-
-board=$(mvebu_board_name)
-
-case "$board" in
-armada-xp-mamba)
- ucidef_set_interfaces_lan_wan "eth0" "eth1"
- ;;
-
-*)
- ucidef_set_interface_lan "eth0"
- ;;
-esac
-
-uci commit network
-
-exit 0