diff options
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-x | sbin/dhclient-script | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 18cc41e..a0b8fbf 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -151,10 +151,7 @@ add_new_resolv_conf() { # Must be used on exit. Invokes the local dhcp client exit hooks, if any. exit_with_hooks() { - exit_status=$1 - if [ -f /etc/dhclient-exit-hooks ]; then - /etc/rc.newwanip - fi + /etc/rc.newwanip # probably should do something with exit status of the local script exit 0 } |