Further guarding overwriting of /bin/mount by making it dependent on the existence...
authorDaniel Baumann <mail@daniel-baumann.ch>
Wed, 8 May 2013 06:39:26 +0000 (08:39 +0200)
committerDaniel Baumann <mail@daniel-baumann.ch>
Wed, 8 May 2013 06:41:03 +0000 (08:41 +0200)
scripts/boot/9990-mount-http.sh

index 935e0ae..9c01482 100755 (executable)
@@ -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