diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-09-10 21:33:03 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-09-10 21:33:03 +0000 |
commit | d2adb1a4daf437306ec1ef74d2cc70b1a5cf3c8b (patch) | |
tree | 5ea87943faf5191b126cb75e0b727fe8a53e2996 /sbin | |
parent | 93629767962b7adf5b8ca6afc45c31372374f406 (diff) | |
download | pfsense-d2adb1a4daf437306ec1ef74d2cc70b1a5cf3c8b.zip pfsense-d2adb1a4daf437306ec1ef74d2cc70b1a5cf3c8b.tar.gz |
* No need to rely on exit-hooks to spawn rc.newwanip, do it here.
* Exit with 0!
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/dhclient-script | 4 |
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 } # |