diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-17 23:16:58 +0200 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-17 23:16:58 +0200 |
commit | b1f6a5d9dffd8da30800e9e66ea772554bbba778 (patch) | |
tree | 25a600233c21bb7347d8fbf514598160db56ad13 /target/linux/bcm53xx | |
parent | 84fc80dd668a053c84b1431e5a98995abb0710ea (diff) | |
download | upstream-b1f6a5d9dffd8da30800e9e66ea772554bbba778.tar.gz upstream-b1f6a5d9dffd8da30800e9e66ea772554bbba778.tar.bz2 upstream-b1f6a5d9dffd8da30800e9e66ea772554bbba778.zip |
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>
Diffstat (limited to 'target/linux/bcm53xx')
-rwxr-xr-x | target/linux/bcm53xx/base-files/etc/board.d/02_network | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network index b3d614d6a2..6774e5bf46 100755 --- a/target/linux/bcm53xx/base-files/etc/board.d/02_network +++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network @@ -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" \ |