2
0
forked from Ivasoft/openwrt

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>
This commit is contained in:
Adrian Schmutzler
2020-02-07 15:42:54 +01:00
parent 8590e70fab
commit 8fe5ad5d33
103 changed files with 42 additions and 42 deletions

View File

@@ -0,0 +1,29 @@
#!/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

View File

@@ -0,0 +1,7 @@
#!/bin/sh
#
# Copyright (C) 2007 OpenWrt.org
#
#
mtd fixtrx firmware