From 8c995ee6573b284dbef4c86515765175fbf0e6ce Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Fri, 26 Aug 2011 04:39:03 -0300 Subject: [archiso] Change location of nbd_client.pid Signed-off-by: Gerardo Exequiel Pozzi --- archiso/hooks/archiso_pxe_nbd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'archiso') diff --git a/archiso/hooks/archiso_pxe_nbd b/archiso/hooks/archiso_pxe_nbd index 588e033..3fe988a 100644 --- a/archiso/hooks/archiso_pxe_nbd +++ b/archiso/hooks/archiso_pxe_nbd @@ -89,6 +89,7 @@ archiso_pxe_nbd_mount_handler () { msg "::: Disconnect NBD from ${nbdserver} at /dev/nbd0" nbd-client -d /dev/nbd0 else - pidof nbd-client > /run/nbd_client.pid + mkdir -p /run/archiso + pidof nbd-client > /run/archiso/nbd_client.pid fi } -- cgit v1.2.3-70-g09d2