projects
/
live-boot-grml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Using sendsigs.omit to avoid killing / (Closes: #584690).
[live-boot-grml.git]
/
scripts
/
live
diff --git
a/scripts/live
b/scripts/live
index
c525c80
..
7ee3e7f
100755
(executable)
--- a/
scripts/live
+++ b/
scripts/live
@@
-746,6
+746,7
@@
do_httpmount ()
fi
modprobe fuse
$FUSE_MOUNT "${url}" "${dest}"
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"
fi
[ ${?} -eq 0 ] && rc=0
[ "${extension}" = "tgz" ] && live_dest="ram"
@@
-776,6
+777,9
@@
do_httpmount ()
elif [ "${webfile}" != "FETCH" ] ; then
NETBOOT="${webfile}"
export NETBOOT
elif [ "${webfile}" != "FETCH" ] ; then
NETBOOT="${webfile}"
export NETBOOT
+ if [ -n "${FUSE_PID}" ] ; then
+ echo "${FUSE_PID}" > ${mountpoint}/root.pid
+ fi
fi
return ${rc}
fi
return ${rc}