From 69f09ebf1e8cd94608496ae11121a31e0cc24a6f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Dec 2012 16:43:21 +0100 Subject: [PATCH] Making overwriting of /bin/mount within initramfs with mount.util-linux dependent on fuse usage, not on some additional boot parameter. --- scripts/boot/9990-cmdline-old | 5 ----- scripts/boot/9990-main.sh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/boot/9990-cmdline-old b/scripts/boot/9990-cmdline-old index 16fc206..b8fc4a6 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