diff options
author | Jonathan Bauer | 2017-08-15 16:43:30 +0200 |
---|---|---|
committer | Jonathan Bauer | 2017-08-15 16:43:30 +0200 |
commit | 5b5b5418f9c347df2b99918807fc57e2f994158d (patch) | |
tree | 1f783b7a136a7708f677e9646f817d2c69d5e527 /core/rootfs/rootfs-stage32/data | |
parent | [rfs-stage32] !!?? (diff) | |
download | mltk-5b5b5418f9c347df2b99918807fc57e2f994158d.tar.gz mltk-5b5b5418f9c347df2b99918807fc57e2f994158d.tar.xz mltk-5b5b5418f9c347df2b99918807fc57e2f994158d.zip |
[rfs-s32] add ext. regey for grep use
Diffstat (limited to 'core/rootfs/rootfs-stage32/data')
-rwxr-xr-x | core/rootfs/rootfs-stage32/data/opt/openslx/scripts/systemd-setup_slx_addons | 4 |
1 files changed, 2 insertions, 2 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 61d24d7d..d99a1ec2 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 @@ -46,7 +46,7 @@ if [ ! -f "${ADDON_PATH}" ]; then exit 1 fi # do we have hdd tmp? -if grep -q '^/dev/\S+\s/tmp' '/proc/mounts'; then +if grep -q -E '^/dev/\S+\s/tmp' '/proc/mounts'; then # it's there, so move it to /tmp to save some ram if mv -f "${ADDON_PATH}" "${FINAL_DEST}/$(basename $ADDON.sqfs)"; then ADDON_PATH="${FINAL_DEST}/$(basename $ADDON.sqfs)" @@ -74,7 +74,7 @@ if [ -x "$ADDON_MOUNT_POINT/addon-init" ]; then "$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 +if ! grep -q -F '/opt/openslx/mnt/stage4' '/proc/mounts'; then ldconfig 2> /dev/null || ldconfig.real 2> /dev/null fi |