fff-layer3-config: fix exit status of uci-default scripts

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>
This commit is contained in:
Fabian Bläse 2024-03-17 21:58:57 +01:00
parent 7c0a24a80c
commit c56f090c78
2 changed files with 4 additions and 0 deletions

View File

@ -77,3 +77,5 @@ esac
uci set gateway.meta.config_version='2'
uci commit gateway
exit 0

View File

@ -74,3 +74,5 @@ esac
uci set gateway.meta.config_version='3'
uci commit gateway
exit 0