From 3ac300702cbb1d035eb44eaa06d5440995d150bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ermal=20Lu=E7i?= Date: Mon, 21 Dec 2009 17:39:14 +0000 Subject: Do not break rc.newwanip by putting more information than requested in the file. --- sbin/dhclient-script | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sbin') diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 4a0659a..9c84d5f 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -80,11 +80,11 @@ 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 + cp /var/db/${interface}_ip /tmp/rc.newwanip_oldip 2>/dev/null +# echo $new_ip_address > /var/db/${interface}_ip - echo $interface > /tmp/rc.newwanip - echo $new_ip_address >> /tmp/rc.newwanip + echo $interface > /tmp/rc.newwanip +# echo $new_ip_address >> /tmp/rc.newwanip } -- cgit v1.1