9 lines
230 B
Plaintext
9 lines
230 B
Plaintext
|
if [[ -f /run/nbd_client.pid ]]; then
|
||
|
omit_kill_nbd_client() {
|
||
|
add_omit_pids $(< /run/nbd_client.pid)
|
||
|
}
|
||
|
|
||
|
add_hook shutdown_prekillall omit_kill_nbd_client
|
||
|
add_hook single_prekillall omit_kill_nbd_client
|
||
|
fi
|