ISO/root-image/etc/rc.d/functions.d/omit_kill_nbd_client
Gerardo Exequiel Pozzi 12ad99bed3 [archiso] Change location of nbd_client.pid
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
2011-08-28 04:07:04 -03:00

9 lines
246 B
Plaintext

if [[ -f /run/archiso/nbd_client.pid ]]; then
omit_kill_nbd_client() {
add_omit_pids $(< /run/archiso/nbd_client.pid)
}
add_hook shutdown_prekillall omit_kill_nbd_client
add_hook single_prekillall omit_kill_nbd_client
fi