diff options
Diffstat (limited to 'target/linux/rb532/base-files')
-rw-r--r-- | target/linux/rb532/base-files/etc/config/network | 26 | ||||
-rw-r--r-- | target/linux/rb532/base-files/etc/diag.sh | 17 | ||||
-rw-r--r-- | target/linux/rb532/base-files/lib/preinit/01_sysinfo | 11 | ||||
-rw-r--r-- | target/linux/rb532/base-files/lib/upgrade/platform.sh | 17 |
4 files changed, 0 insertions, 71 deletions
diff --git a/target/linux/rb532/base-files/etc/config/network b/target/linux/rb532/base-files/etc/config/network deleted file mode 100644 index c689d63278..0000000000 --- a/target/linux/rb532/base-files/etc/config/network +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright (C) 2006 OpenWrt.org - -config interface loopback - option ifname lo - option proto static - option ipaddr 127.0.0.1 - option netmask 255.0.0.0 - -config interface wan - option ifname eth0 - option proto dhcp - -config interface lan - option type bridge - option ifname eth2 - option proto static - option ipaddr 192.168.1.1 - option netmask 255.255.255.0 - option ip6assign 60 - -config interface wan6 - option ifname eth0 - option proto dhcpv6 - -config globals globals - option ula_prefix auto diff --git a/target/linux/rb532/base-files/etc/diag.sh b/target/linux/rb532/base-files/etc/diag.sh deleted file mode 100644 index 482b8e9953..0000000000 --- a/target/linux/rb532/base-files/etc/diag.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/sh -# Copyright (C) 2007-2013 OpenWrt.org - -. /lib/functions/leds.sh - -status_led="rb500led:amber" - -set_state() { - case "$1" in - preinit) - status_led_on - ;; - done) - status_led_off - ;; - esac -} diff --git a/target/linux/rb532/base-files/lib/preinit/01_sysinfo b/target/linux/rb532/base-files/lib/preinit/01_sysinfo deleted file mode 100644 index 4c932fde19..0000000000 --- a/target/linux/rb532/base-files/lib/preinit/01_sysinfo +++ /dev/null @@ -1,11 +0,0 @@ -get_model_rb532() { - grep system\ type /proc/cpuinfo | awk -F ": " '{print $2}' -} - -do_sysinfo_rb532() { - mkdir -p /tmp/sysinfo - echo rb532 > /tmp/sysinfo/board_name - get_model_rb532 > /tmp/sysinfo/model -} - -boot_hook_add preinit_main do_sysinfo_rb532 diff --git a/target/linux/rb532/base-files/lib/upgrade/platform.sh b/target/linux/rb532/base-files/lib/upgrade/platform.sh deleted file mode 100644 index 334d6e2ff6..0000000000 --- a/target/linux/rb532/base-files/lib/upgrade/platform.sh +++ /dev/null @@ -1,17 +0,0 @@ -REQUIRE_IMAGE_METADATA=1 -RAMFS_COPY_BIN='nandwrite' -CI_KERNPART=none - -platform_check_image() { - [ -e /dev/ubi0 ] || { - ubiattach -m 1 - sleep 1 - } - return 0; -} - -platform_do_upgrade() { - mtd erase kernel - tar xf "$1" "sysupgrade-$(board_name)/kernel" -O | nandwrite -o /dev/mtd0 - - nand_do_upgrade "$1" -} |