diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-10 21:40:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-10 21:40:39 +0000 |
commit | 4507a04440e4d7041ee9487a73286d7f82647765 (patch) | |
tree | 5c93420858f667160c4a37b56bb5295f127240fc /sbin/dhclient-script | |
parent | d2adb1a4daf437306ec1ef74d2cc70b1a5cf3c8b (diff) | |
download | pfsense-4507a04440e4d7041ee9487a73286d7f82647765.zip pfsense-4507a04440e4d7041ee9487a73286d7f82647765.tar.gz |
No need to check for rc.newwanip, the file will exist on pfSense
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 } |