mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 23:53:02 +00:00
bcm53xx: remove useless echo in 02_network
The output is already produced in the inner $() brackets, no need to catch and echo it again. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
parent
84fc80dd66
commit
b1f6a5d9df
@ -55,8 +55,8 @@ bcm53xx_setup_interfaces()
|
||||
# vlan2ports=4 5u
|
||||
# and early Netgear R8000 was using
|
||||
# vlan1ports=3 2 1 0 5 7 8*
|
||||
vlan1ports="$(echo $(nvram get vlan1ports | tr " " "\n" | sort))"
|
||||
vlan2ports="$(echo $(nvram get vlan2ports | tr " " "\n" | sort))"
|
||||
vlan1ports="$(nvram get vlan1ports | tr " " "\n" | sort)"
|
||||
vlan2ports="$(nvram get vlan2ports | tr " " "\n" | sort)"
|
||||
if echo "$vlan1ports" | egrep -q "^1 2 3 4 5" && \
|
||||
echo "$vlan2ports" | egrep -q "^0 5"; then
|
||||
ucidef_add_switch "switch0" \
|
||||
|
Loading…
Reference in New Issue
Block a user