From 3fa256bb478f2b3e6316c561169190457b21e616 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Thu, 3 Apr 2014 15:48:20 +0800 Subject: discover/network: run udhcpc process in foreground mode We don't want udhcpc processes to detach, otherwise we aren't able to stop the spawned background process, which we need to do on reinit. Signed-off-by: Jeremy Kerr --- discover/network.c | 1 + 1 file changed, 1 insertion(+) diff --git a/discover/network.c b/discover/network.c index 2b7e94c..60d1f6e 100644 --- a/discover/network.c +++ b/discover/network.c @@ -229,6 +229,7 @@ static void configure_interface_dhcp(struct interface *interface) pb_system_apps.udhcpc, "-R", "-n", + "-f", "-O", "pxeconffile", "-O", "pxepathprefix", "-p", pidfile, -- cgit v1.2.1