diff options
author | Christian Rößler | 2021-05-03 17:48:32 +0200 |
---|---|---|
committer | Christian Rößler | 2021-05-03 17:48:32 +0200 |
commit | cb68b5992db69751839007e9346dd2f71b7a1fcc (patch) | |
tree | 6af0d907a09972ac9a704934f120eca80aedcc62 /core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons | |
parent | [run-virt] Linux scripts: umounter -bugs, +webdav (fuse), KDE resolution (diff) | |
parent | [nvidia-libs] Whiteout list is optional, so no error (diff) | |
download | mltk-cb68b5992db69751839007e9346dd2f71b7a1fcc.tar.gz mltk-cb68b5992db69751839007e9346dd2f71b7a1fcc.tar.xz mltk-cb68b5992db69751839007e9346dd2f71b7a1fcc.zip |
Merge branch 'master' of git.openslx.org:openslx-ng/mltk
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons')
-rwxr-xr-x | core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons | 3 |
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 |