diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-21 17:39:14 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-21 17:39:14 +0000 |
commit | 3ac300702cbb1d035eb44eaa06d5440995d150bd (patch) | |
tree | 690fcc6cf94a5dbb2bd9991dd01f1686931e4aca /sbin/dhclient-script | |
parent | 771df54ef12e43bbdc9b38567135f95f98d96945 (diff) | |
download | pfsense-3ac300702cbb1d035eb44eaa06d5440995d150bd.zip pfsense-3ac300702cbb1d035eb44eaa06d5440995d150bd.tar.gz |
Do not break rc.newwanip by putting more information than requested in the file.
Diffstat (limited to 'sbin/dhclient-script')
-rwxr-xr-x | sbin/dhclient-script | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |