Ignore:
Timestamp:
06/02/2021 08:12:59 PM (3 years ago)
Author:
Thomas Trepl (Moody) <thomas@…>
Branches:
11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
9804e16
Parents:
134c278
Message:

Avoid killing mdmon at shutdown/reboot

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootscripts/lfs/init.d/sendsignals

    r134c278 r6a11766  
    3030case "${1}" in
    3131   stop)
     32      omit=$(pidof mdmon)
     33      [ -n "$omit" ] && omit="-o $omit"
     34
    3235      log_info_msg "Sending all processes the TERM signal..."
    33       killall5 -15
     36      killall5 -15 $omit
    3437      error_value=${?}
    3538
     
    4346
    4447      log_info_msg "Sending all processes the KILL signal..."
    45       killall5 -9
     48      killall5 -9 $omit
    4649      error_value=${?}
    4750
Note: See TracChangeset for help on using the changeset viewer.