Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng/root-image/etc/rc.d/functions.d/omit_kill_nbd_client
blob: 60a11924aee2441761b0fd85a2949e0ae9571f29 (plain)
1
2
3
4
5
6
7
8
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