Skip to content

Commit

Permalink
Making overwriting of /bin/mount within initramfs with mount.util-lin…
Browse files Browse the repository at this point in the history
…ux dependent on fuse usage, not on some additional boot parameter.
  • Loading branch information
daniel-baumann committed May 6, 2013
1 parent 19c72d4 commit 69f09eb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions scripts/boot/9990-cmdline-old
Expand Up @@ -30,11 +30,6 @@ Cmdline_old ()
export DHCP
;;

klibc-mount=*)
KLIBC_MOUNT="${_PARAMETER#klibc-mount=}"
export KLIBC_MOUNT
;;

ethdevice=*)
DEVICE="${_PARAMETER#ethdevice=}"
ETHDEVICE="${DEVICE}"
Expand Down
2 changes: 1 addition & 1 deletion scripts/boot/9990-main.sh
Expand Up @@ -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
Expand Down

0 comments on commit 69f09eb

Please sign in to comment.