mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Avoid killing mdmon at shutdown/reboot
This commit is contained in:
parent
134c2784d4
commit
6a11766e6e
@ -29,8 +29,11 @@
|
||||
|
||||
case "${1}" in
|
||||
stop)
|
||||
omit=$(pidof mdmon)
|
||||
[ -n "$omit" ] && omit="-o $omit"
|
||||
|
||||
log_info_msg "Sending all processes the TERM signal..."
|
||||
killall5 -15
|
||||
killall5 -15 $omit
|
||||
error_value=${?}
|
||||
|
||||
sleep ${KILLDELAY}
|
||||
@ -42,7 +45,7 @@ case "${1}" in
|
||||
fi
|
||||
|
||||
log_info_msg "Sending all processes the KILL signal..."
|
||||
killall5 -9
|
||||
killall5 -9 $omit
|
||||
error_value=${?}
|
||||
|
||||
sleep ${KILLDELAY}
|
||||
|
@ -42,6 +42,16 @@
|
||||
<listitem revision="sysv"> or <listitem revision="systemd"> as
|
||||
appropriate for the entry or if needed the entire day's listitem.
|
||||
-->
|
||||
<listitem>
|
||||
<para>2021-06-02</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[thomas] - Tweak sendsignal bootscript to avoid
|
||||
killing mdmod (if active).</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>2021-05-31</para>
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user