summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-30 15:43:47 +0200
committerSimon Rettberg2021-04-30 15:43:47 +0200
commitf0a14feede21071c0afc050c9174a86500dcf717 (patch)
treed0341590ad2149d2aed35dc29cdaad62ee0c55dd
parentChange the mail address for feedback in file headers (diff)
downloadmltk-f0a14feede21071c0afc050c9174a86500dcf717.tar.gz
mltk-f0a14feede21071c0afc050c9174a86500dcf717.tar.xz
mltk-f0a14feede21071c0afc050c9174a86500dcf717.zip
[rootfs-stage32] Add more status output to setup-slx-addon
-rwxr-xr-xcore/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons
index 228474f2..91ec0d0b 100755
--- a/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons
+++ b/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons
@@ -98,12 +98,15 @@ fi
# Run post-hook if available
if [ -x "$ADDON_MOUNT_POINT/addon-init" ]; then
+ echo "Running post-append hook"
"$ADDON_MOUNT_POINT/addon-init" || \
slxlog --echo "addon-setup-init" "Warning: Could not execute addon-init of $ADDON"
fi
if ! grep -q -F '/opt/openslx/mnt/stage4' '/proc/mounts'; then
+ echo "Running ldconfig"
ldconfig 2> /dev/null || ldconfig.real 2> /dev/null
fi
+echo "Addon initialized."
exit 0