mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not start dhclient in bg
This commit is contained in:
parent
dc5f3ba517
commit
274d695f66
@ -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}");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user