summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsbin/dhclient-script4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index ff1e029..18cc41e 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -153,10 +153,10 @@ add_new_resolv_conf() {
exit_with_hooks() {
exit_status=$1
if [ -f /etc/dhclient-exit-hooks ]; then
- . /etc/dhclient-exit-hooks
+ /etc/rc.newwanip
fi
# probably should do something with exit status of the local script
- exit $exit_status
+ exit 0
}
#
OpenPOWER on IntegriCloud