From 40d6396201eeff54ced6b5dfd660d516b709f604 Mon Sep 17 00:00:00 2001 From: Packet Please Date: Mon, 29 Jan 2024 03:25:49 +0100 Subject: [PATCH] falter-common: fix ffwizard uci script exit code The config data already being present is not an error condition. The script will only be deleted if it exits zero, which means it will be retried on the next boot if it exits non-zero. The other check (availability of the translation script) is a legitimate error condition and we want to retry that. Signed-off-by: Packet Please --- .../files/etc/uci-defaults/freifunk-berlin-ffwizard3-json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/falter-common/files/etc/uci-defaults/freifunk-berlin-ffwizard3-json b/packages/falter-common/files/etc/uci-defaults/freifunk-berlin-ffwizard3-json index 6a788989..18cec89e 100644 --- a/packages/falter-common/files/etc/uci-defaults/freifunk-berlin-ffwizard3-json +++ b/packages/falter-common/files/etc/uci-defaults/freifunk-berlin-ffwizard3-json @@ -10,7 +10,7 @@ fi # check, if there is the needed information already set if [ ! -f /etc/config/ffwizard ]; then - exit 1 + exit 0 fi # create a ffwizard3-file, if there is none already