diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-23 01:54:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-23 01:54:43 +0000 |
commit | 274d695f665805d293235b5d2a71cf3b388eaec9 (patch) | |
tree | 7017883f5d4bc1965433eede1ba0a3e259543bcd | |
parent | dc5f3ba517726c680cd2163a8de3418dea4ff05a (diff) | |
download | pfsense-274d695f665805d293235b5d2a71cf3b388eaec9.zip pfsense-274d695f665805d293235b5d2a71cf3b388eaec9.tar.gz |
Do not start dhclient in bg
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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}"); |