The port override feature of network.config is hard to maintain, since changes to devices (e.g. port configuration updates, switch to DSA) have to be applied to this manual override as well. As this feature is probably hardly used anyway, remove it. The port override migration for the Archer C7 v2 is not necessary anymore, remove it as well. Signed-off-by: Fabian Bläse <fabian@blaese.de> Tested-by: Fabian Bläse <fabian@blaese.de>
3 lines
158 B
Plaintext
3 lines
158 B
Plaintext
# Remove port configuration residues from earlier firmware versions
|
|
sed -i -e '/^WAN_PORTS/d' -e '/^BATMAN_PORTS/d' -e '/^CLIENT_PORTS/d' /etc/network.config
|