diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-23 01:36:40 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-23 01:36:40 +0000 |
commit | dc5f3ba517726c680cd2163a8de3418dea4ff05a (patch) | |
tree | 6a6a4cf172cbeaf287e9c08b3e67b890760ddea9 | |
parent | 0119d2f7bd7e5b954fb5ed834f540ce0798e7ce1 (diff) | |
download | pfsense-dc5f3ba517726c680cd2163a8de3418dea4ff05a.zip pfsense-dc5f3ba517726c680cd2163a8de3418dea4ff05a.tar.gz |
Logout output of dhclient startup
-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 ecf4798..67329d2 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}"); + mwexec_bg("/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}"); |