summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm47xx/base-files/etc/uci-defaults')
-rw-r--r--target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration29
-rw-r--r--target/linux/brcm47xx/base-files/etc/uci-defaults/09_fix_crc7
2 files changed, 0 insertions, 36 deletions
diff --git a/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration b/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration
deleted file mode 100644
index cef5add..0000000
--- a/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2014 OpenWrt.org
-#
-
-uci show network | grep "\.vlan=0"
-[ $? -ne 0 ] && exit 0
-
-logger -t network "network config is invalid, creating new one"
-
-local lan_proto="$(uci -q get network.lan.proto)"
-local lan_ipaddr="$(uci -q get network.lan.ipaddr)"
-local lan_netmask="$(uci -q get network.lan.netmask)"
-local wan_proto="$(uci -q get network.wan.proto)"
-local wan_ipaddr="$(uci -q get network.wan.ipaddr)"
-local wan_netmask="$(uci -q get network.wan.netmask)"
-
-rm /etc/config/network
-/etc/init.d/netconfig start
-
-uci set network.lan.proto=$lan_proto
-uci set network.lan.ipaddr=$lan_ipaddr
-uci set network.lan.netmask=$lan_netmask
-uci set network.wan.proto=$wan_proto
-uci set network.wan.ipaddr=$wan_ipaddr
-uci set network.wan.netmask=$wan_netmask
-uci commit network
-
-exit 0
diff --git a/target/linux/brcm47xx/base-files/etc/uci-defaults/09_fix_crc b/target/linux/brcm47xx/base-files/etc/uci-defaults/09_fix_crc
deleted file mode 100644
index 346a532..0000000
--- a/target/linux/brcm47xx/base-files/etc/uci-defaults/09_fix_crc
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2007 OpenWrt.org
-#
-#
-
-mtd fixtrx firmware