summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-01-08 22:37:12 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-01-08 22:37:12 +0000
commitd052c74ef86bc306a9f0cf3b6773663037d5a188 (patch)
tree59809181a8bc0e7c759b500722ca84918c4ccd6d /sbin
parent85feffac9b598013025dc65df349a8bcbfa71b93 (diff)
downloadpfsense-d052c74ef86bc306a9f0cf3b6773663037d5a188.zip
pfsense-d052c74ef86bc306a9f0cf3b6773663037d5a188.tar.gz
Write out old ip to /tmp/rc.newwanip_oldip
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index 6910024..ef9f3f2 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -193,6 +193,7 @@ add_new_resolv_conf() {
# Must be used on exit. Invokes the local dhcp client exit hooks, if any.
exit_with_hooks() {
echo $interface > /tmp/rc.newwanip
+ echo $old_ip_address > /tmp/rc.newwanip_oldip
# probably should do something with exit status of the local script
exit 0
}
OpenPOWER on IntegriCloud