Use killall5 again so we can cleanly remount / readonly, #168977
and #177689.
This commit is contained in:
parent
1c1b0b0a4c
commit
27344f7f27
@ -4,6 +4,8 @@
|
|||||||
30 May 2007; Roy Marples <uberlord@gentoo.org>:
|
30 May 2007; Roy Marples <uberlord@gentoo.org>:
|
||||||
|
|
||||||
Only call systohw in clock when we don't have adjfile or we aren't UTC.
|
Only call systohw in clock when we don't have adjfile or we aren't UTC.
|
||||||
|
Use killall5 again so we can cleanly remount / readonly, #168977
|
||||||
|
and #177689.
|
||||||
|
|
||||||
* baselayout-2.0.0_alpha3 (14 May 2007)
|
* baselayout-2.0.0_alpha3 (14 May 2007)
|
||||||
|
|
||||||
|
@ -14,6 +14,12 @@ fi
|
|||||||
stop_addon devfs
|
stop_addon devfs
|
||||||
stop_addon udev
|
stop_addon udev
|
||||||
|
|
||||||
|
# Really kill things off before unmounting
|
||||||
|
if [ -x /sbin/killall5 ] ; then
|
||||||
|
killall5 -15
|
||||||
|
killall5 -9
|
||||||
|
fi
|
||||||
|
|
||||||
# Flush all pending disk writes now
|
# Flush all pending disk writes now
|
||||||
sync ; sync
|
sync ; sync
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ do_unmount() {
|
|||||||
if [ ${retry} -le 0 ] ; then
|
if [ ${retry} -le 0 ] ; then
|
||||||
case "${cmd}" in
|
case "${cmd}" in
|
||||||
umount*)
|
umount*)
|
||||||
LC_ALL=C ${cmd} ${extra_opts} "${mnt}" || retry=-999
|
LC_ALL=C ${cmd} -f "${mnt}" || retry=-999
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
retry=-999
|
retry=-999
|
||||||
|
Loading…
Reference in New Issue
Block a user