summaryrefslogtreecommitdiffstats
path: root/discover/network.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-04-03 15:48:20 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-04-03 15:48:20 +0800
commit3fa256bb478f2b3e6316c561169190457b21e616 (patch)
treea99aff6c391fadfe8b4ca8937e48240c250a6a27 /discover/network.c
parente6427db8266f5964d14679c53b55da8e3ee0233c (diff)
downloadtalos-petitboot-3fa256bb478f2b3e6316c561169190457b21e616.tar.gz
talos-petitboot-3fa256bb478f2b3e6316c561169190457b21e616.zip
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 <jk@ozlabs.org>
Diffstat (limited to 'discover/network.c')
-rw-r--r--discover/network.c1
1 files changed, 1 insertions, 0 deletions
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,
OpenPOWER on IntegriCloud