Making overwriting of /bin/mount within initramfs with mount.util-linux dependent...
authorDaniel Baumann <daniel@debian.org>
Wed, 12 Dec 2012 15:43:21 +0000 (16:43 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 12 Dec 2012 15:43:55 +0000 (16:43 +0100)
scripts/boot/9990-cmdline-old
scripts/boot/9990-main.sh

index 94c5163..85f1b62 100755 (executable)
@@ -30,11 +30,6 @@ Cmdline_old ()
                                export DHCP
                                ;;
 
-                       klibc-mount=*)
-                               KLIBC_MOUNT="${_PARAMETER#klibc-mount=}"
-                               export KLIBC_MOUNT
-                               ;;
-
                        ethdevice=*)
                                DEVICE="${_PARAMETER#ethdevice=}"
                                ETHDEVICE="${DEVICE}"
index 0924581..c696781 100755 (executable)
@@ -32,7 +32,7 @@ Main ()
                . /conf/param.conf
        fi
 
-       if [ -x /bin/mount.util-linux ] && [ -z "${KLIBC_MOUNT}" ]
+       if [ -n "${FUSE_MOUNT}" ]
        then
                # fuse does not work with klibc mount
                ln -f /bin/mount.util-linux /bin/mount