diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-06-15 11:09:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-06-15 11:09:49 +0000 |
commit | f9ad520e37ea3ad98451848ab6c461f3fde8d077 (patch) | |
tree | 127d744429c761863a6e5fc11279a4ab22e097ee /target/linux/brcm-2.4/base-files/etc/init.d/netconfig | |
parent | f7e09198fee90ae8661b7842d3630442b66466b4 (diff) | |
download | mtk-20170518-f9ad520e37ea3ad98451848ab6c461f3fde8d077.zip mtk-20170518-f9ad520e37ea3ad98451848ab6c461f3fde8d077.tar.gz mtk-20170518-f9ad520e37ea3ad98451848ab6c461f3fde8d077.tar.bz2 |
(2/6) bcm57xx: netconfig
Update the netconfig script to support boardtype 0x478. I've tested this
on the wrt350n, hopefully it will match the 600n as well.
Signed-off-by: Ben Pfountz <netprince (at) vt (dot) edu>
SVN-Revision: 11467
Diffstat (limited to 'target/linux/brcm-2.4/base-files/etc/init.d/netconfig')
-rwxr-xr-x | target/linux/brcm-2.4/base-files/etc/init.d/netconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig index 65ffe32..ec25543 100755 --- a/target/linux/brcm-2.4/base-files/etc/init.d/netconfig +++ b/target/linux/brcm-2.4/base-files/etc/init.d/netconfig @@ -102,6 +102,11 @@ start() { } } } + if (nvram["boardtype"] == "0x478") { + # generic broadcom 4785 processor with 5397 switch? + c["vlan0ports"] = "1 2 3 4 8*" + c["vlan1ports"] = "0 8" + } # WAP54G if ((nvram["boardnum"] == "2") || \ |