Commit Graph

2 Commits

Author SHA1 Message Date
Fabian Bläse 1d2c835b53 fff-layer3-config: fix exit status of uci-default scripts
ci/woodpecker/push/woodpecker Pipeline was successful Details
OpenWrt only removes uci-defaults scripts if the exit status of the
executed script is 0. Fix the exit code of the layer3-config migration
scripts so they are removed as intended.

Fixes: #313

Signed-off-by: Fabian Bläse <fabian@blaese.de>
2024-03-21 21:55:43 +01:00
Fabian Bläse 7c0a24a80c layer3-config: Add DSA migration script for migrated devices
ci/woodpecker/manual/woodpecker Pipeline was successful Details
Because of to the switch from swconfig to DSA, the switchport names
have to be migrated for a few devices. Due to past migrations, we
already have developed a migration script for that.

Duplicate and adjust the script for the newly migrated devices. While at
it, rename the old script to reflect the configuration version bump.

Fixes: #301

Signed-off-by: Fabian Bläse <fabian@blaese.de>
2024-02-16 22:54:44 +01:00