diff options
author | John Crispin <john@phrozen.org> | 2016-06-15 20:28:21 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-06-17 04:13:07 +0200 |
commit | 137b1ac5e8df6110a9ecea8a505ff61b64203ced (patch) | |
tree | 1186ee821ea636b435f3c81806ac3eed9b0d8d58 /target/linux/netlogic/base-files | |
parent | ea828eb3af848bbbe0583281d5aaa823caac68cc (diff) | |
download | upstream-137b1ac5e8df6110a9ecea8a505ff61b64203ced.tar.gz upstream-137b1ac5e8df6110a9ecea8a505ff61b64203ced.tar.bz2 upstream-137b1ac5e8df6110a9ecea8a505ff61b64203ced.zip |
netlogic: R.I.P
I asked florian and he is ok with this. i think no one apart from him has
access to these boards.
Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/netlogic/base-files')
3 files changed, 0 insertions, 81 deletions
diff --git a/target/linux/netlogic/base-files/etc/board.d/02_network b/target/linux/netlogic/base-files/etc/board.d/02_network deleted file mode 100755 index fca8d9662a..0000000000 --- a/target/linux/netlogic/base-files/etc/board.d/02_network +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2014-2015 OpenWrt.org -# - -. /lib/functions/uci-defaults.sh -. /lib/netlogic.sh - -board_config_update - -case "$board_name" in -"xlp-evp" |\ -"xlp-fvp" |\ -"xlp-gvp" |\ -"xlp-svp" |\ -*) - ucidef_set_interface_lan "eth0" - ;; - -esac - -board_config_flush - -exit 0 diff --git a/target/linux/netlogic/base-files/lib/netlogic.sh b/target/linux/netlogic/base-files/lib/netlogic.sh deleted file mode 100755 index 27b7c4031d..0000000000 --- a/target/linux/netlogic/base-files/lib/netlogic.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/sh -# -# Copyright (C) 2014 OpenWrt.org -# - -NETLOGIC_BOARD_NAME= -NETLOGIC_MODEL= - -netlogic_board_detect() { - local machine - local name - - machine=$(awk 'BEGIN{FS="[ \t:/]+"} /machine/ {print $2}' /proc/cpuinfo) - - case "$machine" in - *"netlogic,XLP-EVP") - name="xlp-evp" - ;; - *"netlogic,XLP-FVP") - name="xlp-fvp" - ;; - *"netlogic,XLP-GVP") - name="xlp-gvp" - ;; - *"netlogic,XLP-SVP") - name="xlp-svp" - ;; - esac - - [ -z "$name" ] && name="unknown" - - [ -z "$NETLOGIC_BOARD_NAME" ] && NETLOGIC_BOARD_NAME="$name" - [ -z "$NETLOGIC_MODEL" ] && NETLOGIC_MODEL="$machine" - - [ -e "/tmp/sysinfo/" ] || mkdir -p "/tmp/sysinfo/" - - echo "$NETLOGIC_BOARD_NAME" > /tmp/sysinfo/board_name - echo "$NETLOGIC_MODEL" > /tmp/sysinfo/model -} - -netlogic_board_name() { - local name - - [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name) - [ -z "$name" ] && name="unknown" - - echo "$name" -} diff --git a/target/linux/netlogic/base-files/lib/preinit/03_do_netlogic.sh b/target/linux/netlogic/base-files/lib/preinit/03_do_netlogic.sh deleted file mode 100755 index 712a231734..0000000000 --- a/target/linux/netlogic/base-files/lib/preinit/03_do_netlogic.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh - -do_netlogic() { - . /lib/netlogic.sh - - netlogic_board_detect -} - -boot_hook_add preinit_main do_netlogic |