hostmngr: uci-defaults: exit with rc 0 after config convertation

This commit is contained in:
Jakob Olsson 2023-09-07 15:56:06 +02:00
parent 74c1017a0c
commit 84f2faff38

View file

@ -1,6 +1,6 @@
#!/bin/sh
uci -q get hosts.global.ageing_timer || exit 1
uci -q get hosts.global.ageing_timer || exit 0
# Old hosts UCI config is detected; Convert to new format
@ -20,3 +20,4 @@ for ifname in $(uci -q get hosts.global.ifname); do
done
uci -q delete hosts.global.ifname
exit 0