summaryrefslogtreecommitdiff
path: root/scripts/boot
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-05-08 08:38:26 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-08 08:39:37 +0200
commit69a2504ef668f71120f801e2f3ba445c64644559 (patch)
tree271cd6e7a45d9ecc91a5af9ca4e37548974e5920 /scripts/boot
parent5fdb3a69e6d2c158548130a48599a88e4d803f6d (diff)
downloadlive-boot-69a2504ef668f71120f801e2f3ba445c64644559.tar.gz
live-boot-69a2504ef668f71120f801e2f3ba445c64644559.zip
Moving overwriting of /bin/mount with /bin/mount.util-linux for httpfs to make it active (Closes: #707116).
Diffstat (limited to 'scripts/boot')
-rwxr-xr-xscripts/boot/9990-main.sh6
-rwxr-xr-xscripts/boot/9990-mount-http.sh7
2 files changed, 7 insertions, 6 deletions
diff --git a/scripts/boot/9990-main.sh b/scripts/boot/9990-main.sh
index 682959d..8776a7d 100755
--- a/scripts/boot/9990-main.sh
+++ b/scripts/boot/9990-main.sh
@@ -32,12 +32,6 @@ Live ()
. /conf/param.conf
fi
- if [ -n "${FUSE_MOUNT}" ]
- then
- # fuse does not work with klibc mount
- ln -f /bin/mount.util-linux /bin/mount
- fi
-
# Needed here too because some things (*cough* udev *cough*)
# changes the timeout
diff --git a/scripts/boot/9990-mount-http.sh b/scripts/boot/9990-mount-http.sh
index b557404..935e0ae 100755
--- a/scripts/boot/9990-mount-http.sh
+++ b/scripts/boot/9990-mount-http.sh
@@ -50,6 +50,13 @@ do_httpmount ()
else
FUSE_MOUNT="httpfs"
fi
+
+ if [ -n "${FUSE_MOUNT}" ]
+ then
+ # fuse does not work with klibc mount
+ ln -f /bin/mount.util-linux /bin/mount
+ fi
+
modprobe fuse
$FUSE_MOUNT "${url}" "${dest}"
ROOT_PID="$(minips h -C "$FUSE_MOUNT" | { read x y ; echo "$x" ; } )"