aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm47xx/base-files/etc/uci-defaults
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-07 15:42:54 +0100
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-02-14 14:10:51 +0100
commit8fe5ad5d3373cebed4fbc55a7b779721971ce427 (patch)
tree5d9106ede800508dde24c21dda7f90b8b1b8af5b /target/linux/brcm47xx/base-files/etc/uci-defaults
parent8590e70fab64172700c21bc5e658eba17a1eae70 (diff)
downloadupstream-8fe5ad5d3373cebed4fbc55a7b779721971ce427.tar.gz
upstream-8fe5ad5d3373cebed4fbc55a7b779721971ce427.tar.bz2
upstream-8fe5ad5d3373cebed4fbc55a7b779721971ce427.zip
brcm47xx: rename target to bcm47xx
This change makes the names of Broadcom targets consistent by using the common notation based on SoC/CPU ID (which is used internally anyway), bcmXXXX instead of brcmXXXX. This is even used for target TITLE in make menuconfig already, only the short target name used brcm so far. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
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 e430b41d48..0000000000
--- a/target/linux/brcm47xx/base-files/etc/uci-defaults/03_network_migration
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-#
-# Copyright (C) 2014-2015 OpenWrt.org
-#
-
-uci show network | grep "\.vlan=0"
-[ $? -ne 0 ] && exit 0
-
-logger -t network "network config is invalid, creating new one"
-
-lan_proto="$(uci -q get network.lan.proto)"
-lan_ipaddr="$(uci -q get network.lan.ipaddr)"
-lan_netmask="$(uci -q get network.lan.netmask)"
-wan_proto="$(uci -q get network.wan.proto)"
-wan_ipaddr="$(uci -q get network.wan.ipaddr)"
-wan_netmask="$(uci -q get network.wan.netmask)"
-
-echo "" > /etc/config/network
-config_generate
-
-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 346a532998..0000000000
--- 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