mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-28 01:47:19 +01:00
hostmngr: uci-defaults: exit with rc 0 after config convertation
This commit is contained in:
parent
74c1017a0c
commit
84f2faff38
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue