base-files: Reapply fixed "Ignore exit code of uci.sh inclusion"

This reverts commit 80d1c353b7 with the
fix which won't break running systems. A logic error on how shell
handles && and || more the init process.

Signed-off-by: Paul Spooren <mail@aparcar.org>
This commit is contained in:
Paul Spooren 2024-06-10 16:59:41 +02:00
parent b2a84c86e3
commit 213bd273ed

View File

@ -533,4 +533,4 @@ cmdline_get_var() {
done done
} }
[ -z "$IPKG_INSTROOT" ] && [ -f /lib/config/uci.sh ] && . /lib/config/uci.sh [ -z "$IPKG_INSTROOT" ] && [ -f /lib/config/uci.sh ] && . /lib/config/uci.sh || true