X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive;h=7ee3e7f39098eb77e7f5c0b75b1d070bf8310019;hb=37553aee8bbf9550c838d1810706b54b457c6680;hp=c525c80c89980df9c912036c9b50593fb7114918;hpb=8044159d4b1133a9e3f0f1ba550df8e85226ecd2;p=live-boot-grml.git diff --git a/scripts/live b/scripts/live index c525c80..7ee3e7f 100755 --- a/scripts/live +++ b/scripts/live @@ -746,6 +746,7 @@ do_httpmount () fi modprobe fuse $FUSE_MOUNT "${url}" "${dest}" + FUSE_PID="$(minips h -C "$FUSE_MOUNT" | { read x y ; echo "$x" ; } )" fi [ ${?} -eq 0 ] && rc=0 [ "${extension}" = "tgz" ] && live_dest="ram" @@ -776,6 +777,9 @@ do_httpmount () elif [ "${webfile}" != "FETCH" ] ; then NETBOOT="${webfile}" export NETBOOT + if [ -n "${FUSE_PID}" ] ; then + echo "${FUSE_PID}" > ${mountpoint}/root.pid + fi fi return ${rc}