summaryrefslogtreecommitdiffstats
path: root/core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons
diff options
context:
space:
mode:
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons')
-rwxr-xr-xcore/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons1
1 files changed, 1 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 e4730a46..d446583b 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
@@ -107,6 +107,7 @@ if [ -x "$ADDON_MOUNT_POINT/addon-init" ]; then
fi
if ! grep -q -F '/opt/openslx/mnt/stage4' '/proc/mounts'; then
echo "Running ldconfig"
+ killall ldconfig ldconfig.real # Stop any running instance, we have new data now
ldconfig 2> /dev/null || ldconfig.real 2> /dev/null
echo "ldconfig completed"
fi