Further guarding overwriting of /bin/mount by making it dependent on the existence...
[live-boot-grml.git] / 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