ath25: fix preinit Ethernet port configuration
authorSergey Ryazanov <ryazanov.s.a@gmail.com>
Sun, 6 Sep 2020 16:45:02 +0000 (19:45 +0300)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 10 Sep 2020 16:52:15 +0000 (18:52 +0200)
commit788aa61e1b6a81bbf4bbf71b961be4bee1bf0046
tree6b452e28f931025cf69d097879adc05eba293419
parent10dbdeccfadb56557d267e3dc8f22d6bafbb422f
ath25: fix preinit Ethernet port configuration

vconfig is no more installed by default to a firmware image. So, replace
vconfig calls for VLAN subinterface configuration by coresponding
ip-link commands.

Also drop few useless comments from the preinit hook script, while we
are at it.

I have no chance to test this fix since I have no board with a subject
switch IC, but this is still better then call an utility that is
unavailable in the firmware for years.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
[use documented syntax for ip link add]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
target/linux/ath25/base-files/lib/preinit/15_preinit_iface_atheros