summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMichal Suchanek <hramrach@centrum.cz>2010-06-07 15:24:37 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:53:26 +0100
commitcbdc09bc4b5bfe6c1fe803965e6431c14b018697 (patch)
tree7b69e4e3172e5135d25e7558d9c139373338cb0b /scripts
parent4848c6bdfe9726ae21ab0b9c31444c2a99c4fbca (diff)
downloadlive-boot-cbdc09bc4b5bfe6c1fe803965e6431c14b018697.tar.gz
live-boot-cbdc09bc4b5bfe6c1fe803965e6431c14b018697.zip
Using sendsigs.omit to avoid killing / (Closes: #584690).
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live4
1 files changed, 4 insertions, 0 deletions
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}