From a55fc14e24d6ed07961766e36fd45331bbeea7bc Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Mon, 29 Aug 2011 15:27:03 -0300 Subject: [archiso] Integrate omit_kill_nbd_client logic in hook. This makes archiso_pxe_nbd functionallity full-independient from archiso profiles (configs/*). Signed-off-by: Gerardo Exequiel Pozzi --- archiso/archiso_pxe_nbd | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 archiso/archiso_pxe_nbd (limited to 'archiso/archiso_pxe_nbd') 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 -- cgit v1.2.3-70-g09d2