diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-08-29 15:27:03 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2011-08-29 17:03:00 -0300 |
commit | a55fc14e24d6ed07961766e36fd45331bbeea7bc (patch) | |
tree | 51eee4b0a54686bceb59d6e2eed042e04a32a319 /archiso/archiso_pxe_nbd | |
parent | 14743f4202eeffca4d80105c7e7ad91bc0af4e88 (diff) | |
download | archiso32-a55fc14e24d6ed07961766e36fd45331bbeea7bc.tar.xz |
[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 <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/archiso_pxe_nbd')
-rw-r--r-- | archiso/archiso_pxe_nbd | 6 |
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 |