summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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