diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-05 13:49:38 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-08 16:45:08 +0100 |
commit | 4bc92c1e7526ee48e04c25ec4b468e7527e18b6e (patch) | |
tree | 3359b7456b0a2306e55ed5fb78820d7658916fbc /target/linux/ar7/base-files/etc | |
parent | 2a0e0dec02accb77163d8251e1be4fdaa538d8e9 (diff) | |
download | upstream-4bc92c1e7526ee48e04c25ec4b468e7527e18b6e.tar.gz upstream-4bc92c1e7526ee48e04c25ec4b468e7527e18b6e.tar.bz2 upstream-4bc92c1e7526ee48e04c25ec4b468e7527e18b6e.zip |
ar7: remove unmaintained target
This target seems to have been unmaintained for quite a while, and not a
single tester for the (now outdated) kernel 4.14 patches has been found.
Remove the code and all the packages which are only used by this target.
To add this target to OpenWrt again port it to a recent and supported
kernel version.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ar7/base-files/etc')
-rwxr-xr-x | target/linux/ar7/base-files/etc/board.d/02_network | 28 | ||||
-rw-r--r-- | target/linux/ar7/base-files/etc/diag.sh | 32 | ||||
-rwxr-xr-x | target/linux/ar7/base-files/etc/init.d/adam2 | 13 |
3 files changed, 0 insertions, 73 deletions
diff --git a/target/linux/ar7/base-files/etc/board.d/02_network b/target/linux/ar7/base-files/etc/board.d/02_network deleted file mode 100755 index c1c2dc42fe..0000000000 --- a/target/linux/ar7/base-files/etc/board.d/02_network +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -. /lib/functions/uci-defaults.sh - -board_config_update - -if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175A/1:00" -o \ - -e "/sys/bus/mdio_bus/drivers/IC+ IP17xx/1:00" ] && \ - [ -x /sbin/swconfig ]; -then - ucidef_add_switch "eth0" \ - "0:lan" "1:lan" "2:lan" "3:lan" "4t@eth0" - -elif [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/1:00" -o \ - -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/1:10" ]; -then - ucidef_set_interface_lan "eth0.1" - -elif [ -d "/sys/class/net/eth1" ]; then - ucidef_set_interface_lan "eth0 eth1" - -else - ucidef_set_interface_lan "eth0" -fi - -board_config_flush - -exit 0 diff --git a/target/linux/ar7/base-files/etc/diag.sh b/target/linux/ar7/base-files/etc/diag.sh deleted file mode 100644 index f9aa809405..0000000000 --- a/target/linux/ar7/base-files/etc/diag.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -# Copyright (C) 2007-2013 OpenWrt.org - -. /lib/functions/leds.sh - -get_status_led() { - [ -d "/sys/class/leds/status" ] && status_led="status" - [ -d "/sys/class/leds/power:green" ] && status_led="power:green" -} - -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 - - [ "$status_led" = "power:green" ] && { - led_off "power:red" - } - ;; - esac -} diff --git a/target/linux/ar7/base-files/etc/init.d/adam2 b/target/linux/ar7/base-files/etc/init.d/adam2 deleted file mode 100755 index 6b786270ea..0000000000 --- a/target/linux/ar7/base-files/etc/init.d/adam2 +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh /etc/rc.common -# ADAM2 patcher for Netgear DG834 and compatible -# Copyright (C) 2006 OpenWrt.org - -START=00 -start() { - MD5="$(md5sum /dev/mtdblock0 | awk '{print $1}')" - [ "$MD5" = "0530bfdf00ec155f4182afd70da028c1" ] && { - mtd unlock adam2 - /sbin/adam2patcher /dev/mtdblock0 - } - rm -f /etc/rc.d/S${START}adam2 /etc/init.d/adam2 /sbin/adam2patcher >&- 2>&- -} |