summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient-script
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-10 21:40:39 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-10 21:40:39 +0000
commit4507a04440e4d7041ee9487a73286d7f82647765 (patch)
tree5c93420858f667160c4a37b56bb5295f127240fc /sbin/dhclient-script
parentd2adb1a4daf437306ec1ef74d2cc70b1a5cf3c8b (diff)
downloadpfsense-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-xsbin/dhclient-script5
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
}
OpenPOWER on IntegriCloud