summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-07-23 22:03:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-07-23 22:03:24 +0000
commita9a5cab2370e350d00647fad5dc38c1d224e1b56 (patch)
tree6e0eae0314d0d22ec2ef4c5cb9367aeb65478ffc
parent102d89120a81e56f2d27d51e056d6c07305882ad (diff)
downloadpfsense-a9a5cab2370e350d00647fad5dc38c1d224e1b56.zip
pfsense-a9a5cab2370e350d00647fad5dc38c1d224e1b56.tar.gz
Sleep 5 before running dhclient
-rw-r--r--etc/inc/interfaces.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 520bce0..d1c211e 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -620,6 +620,8 @@ EOD;
/* bring wan interface up before starting dhclient */
mwexec("/sbin/ifconfig {$wanif} up");
+ sleep(5);
+
/* fire up dhclient */
mwexec("/sbin/dhclient -c {$g['varetc_path']}/dhclient_wan.conf {$wanif} >/tmp/{$wanif}_output >/tmp/{$wanif}_error_output");
OpenPOWER on IntegriCloud