summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient-script
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-10 21:33:03 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-10 21:33:03 +0000
commitd2adb1a4daf437306ec1ef74d2cc70b1a5cf3c8b (patch)
tree5ea87943faf5191b126cb75e0b727fe8a53e2996 /sbin/dhclient-script
parent93629767962b7adf5b8ca6afc45c31372374f406 (diff)
downloadpfsense-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/dhclient-script')
-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