From: Jeremy Kerr Date: Thu, 3 Apr 2014 07:48:20 +0000 (+0800) Subject: discover/network: run udhcpc process in foreground mode X-Git-Tag: v1.0.0~200 X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=3fa256bb478f2b3e6316c561169190457b21e616;ds=sidebyside 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 --- 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,