summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-23 01:54:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-23 01:54:43 +0000
commit274d695f665805d293235b5d2a71cf3b388eaec9 (patch)
tree7017883f5d4bc1965433eede1ba0a3e259543bcd
parentdc5f3ba517726c680cd2163a8de3418dea4ff05a (diff)
downloadpfsense-274d695f665805d293235b5d2a71cf3b388eaec9.zip
pfsense-274d695f665805d293235b5d2a71cf3b388eaec9.tar.gz
Do not start dhclient in bg
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 67329d2..520bce0 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -621,7 +621,7 @@ EOD;
mwexec("/sbin/ifconfig {$wanif} up");
/* fire up dhclient */
- mwexec_bg("/sbin/dhclient -c {$g['varetc_path']}/dhclient_wan.conf {$wanif} >/tmp/{$wanif}_output >/tmp/{$wanif}_error_output");
+ mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_wan.conf {$wanif} >/tmp/{$wanif}_output >/tmp/{$wanif}_error_output");
$fout = fopen("/tmp/ifconfig_{$wanif}","w");
fwrite($fout, "/sbin/dhclient -c {$g['varetc_path']}/dhclient_wan.conf {$wanif}");
OpenPOWER on IntegriCloud