From 5b4c9c6bf987a0b690c35aa6d16f32e6fdce274b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 19 Feb 2007 05:31:07 +0000 Subject: Exit after restarting dhclient. --- etc/rc.newwanip | 1 + 1 file changed, 1 insertion(+) (limited to 'etc/rc.newwanip') 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 */ -- cgit v1.1