summaryrefslogtreecommitdiff
path: root/target/linux/adm8668/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/adm8668/base-files')
-rw-r--r--target/linux/adm8668/base-files/etc/config/network24
-rw-r--r--target/linux/adm8668/base-files/etc/diag.sh21
-rw-r--r--target/linux/adm8668/base-files/lib/preinit/03_init_hotplug_failsafe_adm86689
-rw-r--r--target/linux/adm8668/base-files/lib/preinit/05_set_preinit_face_adm86689
-rw-r--r--target/linux/adm8668/base-files/lib/upgrade/platform.sh15
-rw-r--r--target/linux/adm8668/base-files/sbin/hotplug.failsafe4
6 files changed, 0 insertions, 82 deletions
diff --git a/target/linux/adm8668/base-files/etc/config/network b/target/linux/adm8668/base-files/etc/config/network
deleted file mode 100644
index 2b53cf6..0000000
--- a/target/linux/adm8668/base-files/etc/config/network
+++ /dev/null
@@ -1,24 +0,0 @@
-config interface loopback
- option ifname lo
- option proto static
- option ipaddr 127.0.0.1
- option netmask 255.0.0.0
-
-config interface lan
- option ifname eth0
- option type bridge
- option proto static
- option ipaddr 192.168.1.1
- option netmask 255.255.255.0
- option ip6assign 60
-
-config interface wan
- option ifname eth1
- option proto dhcp
-
-config interface wan6
- option ifname @wan
- option proto dhcpv6
-
-config globals globals
- option ula_prefix auto
diff --git a/target/linux/adm8668/base-files/etc/diag.sh b/target/linux/adm8668/base-files/etc/diag.sh
deleted file mode 100644
index edcc753..0000000
--- a/target/linux/adm8668/base-files/etc/diag.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh
-# Copyright (C) 2010 OpenWrt.org
-
-set_led() {
- local state="$1"
- [ -f "/proc/adm8668/sesled" ] && echo "$state" > "/proc/adm8668/sesled"
-}
-
-set_state() {
- case "$1" in
- preinit)
- set_led 1
- ;;
- failsafe)
- set_led 2
- ;;
- done)
- set_led 0
- ;;
- esac
-}
diff --git a/target/linux/adm8668/base-files/lib/preinit/03_init_hotplug_failsafe_adm8668 b/target/linux/adm8668/base-files/lib/preinit/03_init_hotplug_failsafe_adm8668
deleted file mode 100644
index b0f4a4e..0000000
--- a/target/linux/adm8668/base-files/lib/preinit/03_init_hotplug_failsafe_adm8668
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-init_hotplug_failsafe() {
- echo '/sbin/hotplug.failsafe' > /proc/sys/kernel/hotplug
-}
-
-boot_hook_add preinit_main init_hotplug_failsafe
-
-
diff --git a/target/linux/adm8668/base-files/lib/preinit/05_set_preinit_face_adm8668 b/target/linux/adm8668/base-files/lib/preinit/05_set_preinit_face_adm8668
deleted file mode 100644
index ac2a7cb..0000000
--- a/target/linux/adm8668/base-files/lib/preinit/05_set_preinit_face_adm8668
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-set_preinit_ifname() {
- ifname=eth0
-}
-
-boot_hook_add preinit_main set_preinit_ifname
-
-
diff --git a/target/linux/adm8668/base-files/lib/upgrade/platform.sh b/target/linux/adm8668/base-files/lib/upgrade/platform.sh
deleted file mode 100644
index 98e47ad..0000000
--- a/target/linux/adm8668/base-files/lib/upgrade/platform.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-PART_NAME=linux
-platform_check_image() {
- [ "$#" -gt 1 ] && return 1
-
- case "$(get_magic_word "$1")" in
- # u-boot
- 2705) return 0;;
- *)
- echo "Invalid image type. Please use only u-boot files"
- return 1
- ;;
- esac
-}
-
-# use default for platform_do_upgrade()
diff --git a/target/linux/adm8668/base-files/sbin/hotplug.failsafe b/target/linux/adm8668/base-files/sbin/hotplug.failsafe
deleted file mode 100644
index 0544339..0000000
--- a/target/linux/adm8668/base-files/sbin/hotplug.failsafe
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-case "$1" in
- button) kill -USR1 1;;
-esac