diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 05:08:18 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-09 05:08:18 +0000 |
commit | 0697645dfbe0c063ea67d17e2d0e6573c1920f8e (patch) | |
tree | cc85d8527fa7ba32b4e5c2f77325616abcd73e11 /sbin/dhclient-script | |
parent | 51a068728d793cbb130195fe9f076597ee981425 (diff) | |
download | pfsense-0697645dfbe0c063ea67d17e2d0e6573c1920f8e.zip pfsense-0697645dfbe0c063ea67d17e2d0e6573c1920f8e.tar.gz |
Set /tmp/rc.newwanip_oldip
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-x | sbin/dhclient-script | 1 |
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 } |