summaryrefslogtreecommitdiffstats
path: root/sbin/dhclient-script
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-11-09 05:08:18 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-11-09 05:08:18 +0000
commit0697645dfbe0c063ea67d17e2d0e6573c1920f8e (patch)
treecc85d8527fa7ba32b4e5c2f77325616abcd73e11 /sbin/dhclient-script
parent51a068728d793cbb130195fe9f076597ee981425 (diff)
downloadpfsense-0697645dfbe0c063ea67d17e2d0e6573c1920f8e.zip
pfsense-0697645dfbe0c063ea67d17e2d0e6573c1920f8e.tar.gz
Set /tmp/rc.newwanip_oldip
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-xsbin/dhclient-script1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index d88053c..6258f81 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -83,6 +83,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