summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-08 08:39:26 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-08 08:41:03 +0200
commit957eb9528a0ebd10e26897de3b3d6f95cd980819 (patch)
tree60b70f4ea7ee710d8929e792ee84a280c3247501
parent69a2504ef668f71120f801e2f3ba445c64644559 (diff)
downloadlive-boot-957eb9528a0ebd10e26897de3b3d6f95cd980819.tar.gz
live-boot-957eb9528a0ebd10e26897de3b3d6f95cd980819.zip
Further guarding overwriting of /bin/mount by making it dependent on the existence of /bin/mount.util-linux.
-rwxr-xr-xscripts/boot/9990-mount-http.sh2
1 files changed, 1 insertions, 1 deletions
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