diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-11-13 02:15:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-11-13 02:15:03 +0000 |
commit | bd649a3bd1c020cf55d67d680c181a3ff9f52bc4 (patch) | |
tree | b8a574e5ad6b1244da41b0537d2aa751b5a53816 | |
parent | dabfd93717d955ddf7d59caa9234047d2b30429a (diff) | |
download | pfsense-bd649a3bd1c020cf55d67d680c181a3ff9f52bc4.zip pfsense-bd649a3bd1c020cf55d67d680c181a3ff9f52bc4.tar.gz |
Go back to 6's dhclient. I don't feel like chasing all this crap back down.
-rw-r--r-- | etc/inc/interfaces.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 5fab5d4..8004c8a 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -838,7 +838,7 @@ EOD; mwexec("/sbin/ifconfig {$optif} up"); /* fire up dhclient */ - mwexec("/sbin/dhclient -nw -cf {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}"); + mwexec("/sbin/dhclient -cf {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}"); return 0; } @@ -883,10 +883,10 @@ EOD; mwexec("/sbin/ifconfig {$optif} up"); /* fire up dhclient */ - mwexec("/sbin/dhclient -nw -cf {$g['varetc_path']}/dhclient_{$optif}.conf {$optif} >/tmp/{$optif}_output >/tmp/{$optif}_error_output"); + mwexec("/sbin/dhclient -cf {$g['varetc_path']}/dhclient_{$optif}.conf {$optif} >/tmp/{$optif}_output >/tmp/{$optif}_error_output"); $fout = fopen("/tmp/ifconfig_{$optif}","w"); - fwrite($fout, "/sbin/dhclient -nw -cf {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}"); + fwrite($fout, "/sbin/dhclient -cf {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}"); fclose($fout); return 0; @@ -929,10 +929,10 @@ EOD; mwexec("/sbin/ifconfig {$wanif} up"); /* fire up dhclient */ - mwexec("/sbin/dhclient -nw -cf {$g['varetc_path']}/dhclient_wan.conf {$wanif} >/tmp/{$wanif}_output >/tmp/{$wanif}_error_output"); + mwexec("/sbin/dhclient -cf {$g['varetc_path']}/dhclient_wan.conf {$wanif} >/tmp/{$wanif}_output >/tmp/{$wanif}_error_output"); $fout = fopen("/tmp/ifconfig_{$wanif}","w"); - fwrite($fout, "/sbin/dhclient -nw -cf {$g['varetc_path']}/dhclient_wan.conf {$wanif}"); + fwrite($fout, "/sbin/dhclient -cf {$g['varetc_path']}/dhclient_wan.conf {$wanif}"); fclose($fout); return 0; |