diff options
Diffstat (limited to 'remote')
| -rwxr-xr-x | remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons index e66e2e2c..13543e9e 100755 --- a/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons +++ b/remote/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons @@ -17,7 +17,6 @@ # read global OpenSLX config . /opt/openslx/config || { echo "Could not source config!"; exit 23; } -[ -z "${SLX_ADDONS}" ] && { echo "No addons configured. Nothing to do :-)."; exit 0; } # source functions.inc for the download function . /opt/openslx/inc/functions || { echo "/opt/openslx/inc/functions not found!"; exit 1337; } @@ -43,6 +42,7 @@ mkdir -p "$DOWNLOAD_DEST" || { echo "Failed to create $DOWNLOAD_DEST"; exit 1; } # if [ $# -eq 0 ]; then + [ -z "${SLX_ADDONS}" ] && { echo "No addons configured. Nothing to do :-)."; exit 0; } for ADDON in ${SLX_ADDONS}; do systemctl start "setup-slx-addon@$ADDON" & done |
