projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6427db
)
discover/network: run udhcpc process in foreground mode
author
Jeremy Kerr
<jk@ozlabs.org>
Thu, 3 Apr 2014 07:48:20 +0000
(15:48 +0800)
committer
Jeremy Kerr
<jk@ozlabs.org>
Thu, 3 Apr 2014 07:48:20 +0000
(15:48 +0800)
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>
discover/network.c
patch
|
blob
|
history
diff --git
a/discover/network.c
b/discover/network.c
index 2b7e94cbbdad0a4987cb7cb54d820a2df8f0d3dc..60d1f6e0f4e1790ba4b2bb2b18bd3a7b81efe70b 100644
(file)
--- 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,