From d2adb1a4daf437306ec1ef74d2cc70b1a5cf3c8b Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sat, 10 Sep 2005 21:33:03 +0000 Subject: * No need to rely on exit-hooks to spawn rc.newwanip, do it here. * Exit with 0! --- sbin/dhclient-script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/dhclient-script') 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 } # -- cgit v1.1