From: Daniel Baumann Date: Wed, 12 Dec 2012 15:43:21 +0000 (+0100) Subject: Making overwriting of /bin/mount within initramfs with mount.util-linux dependent... X-Git-Tag: debian/3.0_b10-1~5 X-Git-Url: http://git.grml.org/?p=live-boot-grml.git;a=commitdiff_plain;h=f3516a60521a22d13df05ac4b5289ebe7616a389 Making overwriting of /bin/mount within initramfs with mount.util-linux dependent on fuse usage, not on some additional boot parameter. --- diff --git a/scripts/boot/9990-cmdline-old b/scripts/boot/9990-cmdline-old index 94c5163..85f1b62 100755 --- a/scripts/boot/9990-cmdline-old +++ b/scripts/boot/9990-cmdline-old @@ -30,11 +30,6 @@ Cmdline_old () export DHCP ;; - klibc-mount=*) - KLIBC_MOUNT="${_PARAMETER#klibc-mount=}" - export KLIBC_MOUNT - ;; - ethdevice=*) DEVICE="${_PARAMETER#ethdevice=}" ETHDEVICE="${DEVICE}" diff --git a/scripts/boot/9990-main.sh b/scripts/boot/9990-main.sh index 0924581..c696781 100755 --- a/scripts/boot/9990-main.sh +++ b/scripts/boot/9990-main.sh @@ -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