From 15b63fa83bd366d0e45e2c33e2fe2883f7201500 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 30 Nov 2006 19:34:24 +0000 Subject: Do not set an exit status in dhclient-script. From a post that I dug up from Brooks: Why on earth are you exiting with $1 as the status? This is almost certainly the problem. You should not exit from dhclient-exit-hooks at all since it occurs in the context of dhclient-script and this exit values is entirely bogus. --- sbin/dhclient-script | 2 -- 1 file changed, 2 deletions(-) (limited to 'sbin') diff --git a/sbin/dhclient-script b/sbin/dhclient-script index de0fc55..76847d4 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -202,8 +202,6 @@ add_new_resolv_conf() { exit_with_hooks() { echo $interface > /tmp/rc.newwanip echo $old_ip_address > /tmp/rc.newwanip_oldip - # probably should do something with exit status of the local script - exit 0 } # -- cgit v1.1