summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-11-30 19:34:24 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-11-30 19:34:24 +0000
commit15b63fa83bd366d0e45e2c33e2fe2883f7201500 (patch)
tree3dfed3fb95a046516cda15560cf842f76d0914f9
parent60906d7c4275c12e6eb873cd51031337f8e7dbbd (diff)
downloadpfsense-15b63fa83bd366d0e45e2c33e2fe2883f7201500.zip
pfsense-15b63fa83bd366d0e45e2c33e2fe2883f7201500.tar.gz
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.
-rwxr-xr-xsbin/dhclient-script2
1 files changed, 0 insertions, 2 deletions
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
}
#
OpenPOWER on IntegriCloud