diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-07-23 22:03:24 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-07-23 22:03:24 +0000 |
commit | a9a5cab2370e350d00647fad5dc38c1d224e1b56 (patch) | |
tree | 6e0eae0314d0d22ec2ef4c5cb9367aeb65478ffc | |
parent | 102d89120a81e56f2d27d51e056d6c07305882ad (diff) | |
download | pfsense-a9a5cab2370e350d00647fad5dc38c1d224e1b56.zip pfsense-a9a5cab2370e350d00647fad5dc38c1d224e1b56.tar.gz |
Sleep 5 before running dhclient
-rw-r--r-- | etc/inc/interfaces.inc | 2 |
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"); |