summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-03 20:09:00 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-03 20:09:00 +0000
commit8270a5ca0ab154946a2a9f65222d44b4a6906614 (patch)
tree0c7537c8276d557ea0a197305b3e70347b05aeeb /etc/inc
parent097774d963937e0869a5a5f0fad7129aae033e2a (diff)
downloadpfsense-8270a5ca0ab154946a2a9f65222d44b4a6906614.zip
pfsense-8270a5ca0ab154946a2a9f65222d44b4a6906614.tar.gz
-f is not even an option. Bad dhclient web page giving out false info.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/interfaces.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a337976..f9a5fb5 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -700,7 +700,7 @@ EOD;
mwexec("/sbin/ifconfig {$optif} up");
/* fire up dhclient */
- mwexec_bg("/sbin/dhclient -f -c {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}");
+ mwexec_bg("/sbin/dhclient -d -c {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}");
return 0;
}
@@ -746,10 +746,10 @@ EOD;
mwexec("/sbin/ifconfig {$optif} up");
/* fire up dhclient */
- mwexec_bg("/sbin/dhclient -f -c {$g['varetc_path']}/dhclient_{$optif}.conf {$optif} >/tmp/{$optif}_output >/tmp/{$optif}_error_output");
+ mwexec_bg("/sbin/dhclient -d -c {$g['varetc_path']}/dhclient_{$optif}.conf {$optif} >/tmp/{$optif}_output >/tmp/{$optif}_error_output");
$fout = fopen("/tmp/ifconfig_{$optif}","w");
- fwrite($fout, "/sbin/dhclient -f -c {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}");
+ fwrite($fout, "/sbin/dhclient -d -c {$g['varetc_path']}/dhclient_{$optif}.conf {$optif}");
fclose($fout);
return 0;
@@ -793,10 +793,10 @@ EOD;
mwexec("/sbin/ifconfig {$wanif} up");
/* fire up dhclient */
- mwexec_bg("/sbin/dhclient -f -c {$g['varetc_path']}/dhclient_wan.conf {$wanif} >/tmp/{$wanif}_output >/tmp/{$wanif}_error_output");
+ mwexec_bg("/sbin/dhclient -d -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 -f -c {$g['varetc_path']}/dhclient_wan.conf {$wanif}");
+ fwrite($fout, "/sbin/dhclient -d -c {$g['varetc_path']}/dhclient_wan.conf {$wanif}");
fclose($fout);
return 0;
OpenPOWER on IntegriCloud