aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/base-files/etc
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/oxnas/base-files/etc')
-rwxr-xr-xtarget/linux/oxnas/base-files/etc/board.d/01_leds27
-rwxr-xr-xtarget/linux/oxnas/base-files/etc/board.d/02_network22
-rw-r--r--target/linux/oxnas/base-files/etc/diag.sh41
3 files changed, 0 insertions, 90 deletions
diff --git a/target/linux/oxnas/base-files/etc/board.d/01_leds b/target/linux/oxnas/base-files/etc/board.d/01_leds
deleted file mode 100755
index 5d665093f6..0000000000
--- a/target/linux/oxnas/base-files/etc/board.d/01_leds
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-
-. /lib/functions/uci-defaults.sh
-
-board=$(board_name)
-board_config_update
-
-case $board in
- akitio)
- ucidef_set_led_default "status" "status" "akitio:red:status" "0"
- ;;
- stg212)
- ucidef_set_led_default "power" "power" "zyxel:blue:status" "1"
- ucidef_set_led_usbdev "usb" "USB" "zyxel:orange:copy" "1-1"
- ;;
- kd20)
- ucidef_set_led_default "power" "power" "kd20:blue:status" "1"
- ;;
- pogoplug-pro | pogoplug-v3)
- ucidef_set_led_default "power" "power" "pogoplug:blue:internal" "1"
- ;;
-
-esac
-
-board_config_flush
-
-exit 0
diff --git a/target/linux/oxnas/base-files/etc/board.d/02_network b/target/linux/oxnas/base-files/etc/board.d/02_network
deleted file mode 100755
index 7ecaed51bf..0000000000
--- a/target/linux/oxnas/base-files/etc/board.d/02_network
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-. /lib/functions/uci-defaults.sh
-. /lib/functions/system.sh
-. /lib/oxnas.sh
-
-board_config_update
-
-lan_mac=""
-
-case "$(board_name)" in
- kd20)
- lan_mac="$(legacy_boot_mac_adr)"
- ;;
-esac
-
-ucidef_set_interface_lan "eth0" "dhcp"
-[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" "$lan_mac"
-
-board_config_flush
-
-exit 0
diff --git a/target/linux/oxnas/base-files/etc/diag.sh b/target/linux/oxnas/base-files/etc/diag.sh
deleted file mode 100644
index fd3bc3b336..0000000000
--- a/target/linux/oxnas/base-files/etc/diag.sh
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2009-2013 OpenWrt.org
-
-. /lib/functions.sh
-. /lib/functions/leds.sh
-
-get_status_led() {
- case $(board_name) in
- akitio)
- status_led="akitio:red:status"
- ;;
- stg212)
- status_led="zyxel:blue:status"
- ;;
- kd20)
- status_led="kd20:blue:status"
- ;;
- pogoplug-pro | pogoplug-v3)
- status_led="pogoplug:blue:internal"
- ;;
- 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
-}