summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 05:07:08 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 05:07:08 +0000
commit52ea74f3221a1b012c3c143a0ce2931b73909da9 (patch)
treeb2d000c50009c1156050dd2ffa6d59b6a9d7509f /sbin
parent8837ec90f959d6fc1b20fb001f5789ddc980b3f7 (diff)
downloadpfsense-52ea74f3221a1b012c3c143a0ce2931b73909da9.zip
pfsense-52ea74f3221a1b012c3c143a0ce2931b73909da9.tar.gz
Set /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 4e8d23f..3eab1ae 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -84,6 +84,7 @@ add_new_address() {
$LOGGER "New Routers ($interface): $new_routers"
echo $new_routers > /tmp/${interface}_router
+ cp /var/db/${interface}_ip /tmp/rc.newwanip_oldip 2>/dev/null
echo $new_ip_address > /var/db/${interface}_ip
}
OpenPOWER on IntegriCloud