From 957eb9528a0ebd10e26897de3b3d6f95cd980819 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 May 2013 08:39:26 +0200 Subject: [PATCH] Further guarding overwriting of /bin/mount by making it dependent on the existence of /bin/mount.util-linux. --- scripts/boot/9990-mount-http.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/boot/9990-mount-http.sh b/scripts/boot/9990-mount-http.sh index 935e0ae..9c01482 100755 --- a/scripts/boot/9990-mount-http.sh +++ b/scripts/boot/9990-mount-http.sh @@ -51,7 +51,7 @@ do_httpmount () FUSE_MOUNT="httpfs" fi - if [ -n "${FUSE_MOUNT}" ] + if [ -n "${FUSE_MOUNT}" ] && [ -x /bin/mount.util-linux ] then # fuse does not work with klibc mount ln -f /bin/mount.util-linux /bin/mount -- 2.1.4