summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-02-19 05:31:07 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-02-19 05:31:07 +0000
commit5b4c9c6bf987a0b690c35aa6d16f32e6fdce274b (patch)
treeb0300ebe2998b6473233310b66143740b1ab0726 /etc
parent3b3ced3356684ff28e0564200b272307feca2c40 (diff)
downloadpfsense-5b4c9c6bf987a0b690c35aa6d16f32e6fdce274b.zip
pfsense-5b4c9c6bf987a0b690c35aa6d16f32e6fdce274b.tar.gz
Exit after restarting dhclient.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.newwanip1
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 */
OpenPOWER on IntegriCloud