diff options
author | Simon Rettberg | 2021-04-30 15:43:47 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-30 15:43:47 +0200 |
commit | f0a14feede21071c0afc050c9174a86500dcf717 (patch) | |
tree | d0341590ad2149d2aed35dc29cdaad62ee0c55dd /core/rootfs/rootfs-stage32/data/opt | |
parent | Change the mail address for feedback in file headers (diff) | |
download | mltk-f0a14feede21071c0afc050c9174a86500dcf717.tar.gz mltk-f0a14feede21071c0afc050c9174a86500dcf717.tar.xz mltk-f0a14feede21071c0afc050c9174a86500dcf717.zip |
[rootfs-stage32] Add more status output to setup-slx-addon
Diffstat (limited to 'core/rootfs/rootfs-stage32/data/opt')
-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 |