summaryrefslogtreecommitdiff
path: root/archiso/archiso_pxe_nbd
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/archiso_pxe_nbd')
-rw-r--r--archiso/archiso_pxe_nbd6
1 files changed, 6 insertions, 0 deletions
diff --git a/archiso/archiso_pxe_nbd b/archiso/archiso_pxe_nbd
new file mode 100644
index 0000000..e6b9872
--- /dev/null
+++ b/archiso/archiso_pxe_nbd
@@ -0,0 +1,6 @@
+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