diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-19 05:31:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-19 05:31:07 +0000 |
commit | 5b4c9c6bf987a0b690c35aa6d16f32e6fdce274b (patch) | |
tree | b0300ebe2998b6473233310b66143740b1ab0726 /etc/rc.newwanip | |
parent | 3b3ced3356684ff28e0564200b272307feca2c40 (diff) | |
download | pfsense-5b4c9c6bf987a0b690c35aa6d16f32e6fdce274b.zip pfsense-5b4c9c6bf987a0b690c35aa6d16f32e6fdce274b.tar.gz |
Exit after restarting dhclient.
Diffstat (limited to 'etc/rc.newwanip')
-rwxr-xr-x | etc/rc.newwanip | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/rc.newwanip b/etc/rc.newwanip index bb2c6d4..1c5b640 100755 --- a/etc/rc.newwanip +++ b/etc/rc.newwanip @@ -59,6 +59,7 @@ log_error("rc.newwanip working with IP address {$curwanip} {$interface} {$interf if($curwanip == "0.0.0.0") { log_error("Failed to update WAN IP, restarting dhclient."); exec("dhclient $interface_real"); + exit; } /* grab the prior ip for pftpx tests */ |