aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/oxnas/base-files/etc
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2018-05-31 17:28:38 +0200
committerDaniel Golle <daniel@makrotopia.org>2018-06-01 15:45:06 +0200
commit17511a7ea86a34b5a5cfd4831d3a2e8a9e0cc005 (patch)
tree430bec140ba8a22a60f5422f79e4304b3cbaf1b5 /target/linux/oxnas/base-files/etc
parent91b5b2e20d531584918c62a6c6cd046f0580f50a (diff)
downloadupstream-17511a7ea86a34b5a5cfd4831d3a2e8a9e0cc005.tar.gz
upstream-17511a7ea86a34b5a5cfd4831d3a2e8a9e0cc005.tar.bz2
upstream-17511a7ea86a34b5a5cfd4831d3a2e8a9e0cc005.zip
oxnas: kill old oxnas target
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
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
-}