summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-10-30 23:15:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-10-30 23:15:28 +0000
commitf2d2b5bbe72ef449064895a144a243a6bc90480c (patch)
treec1980668d1eebbb07ddb697d0e2d41e4b283961a /sbin
parentbfc2889c71b3d1ab94d30af813ebac6ad88d0a06 (diff)
downloadpfsense-f2d2b5bbe72ef449064895a144a243a6bc90480c.zip
pfsense-f2d2b5bbe72ef449064895a144a243a6bc90480c.tar.gz
Echo out the ip address of the interface after renewing to /var/db/${interface}_ip
Diffstat (limited to 'sbin')
-rwxr-xr-xsbin/dhclient-script1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script
index e4f7f47..8ca9a62 100755
--- a/sbin/dhclient-script
+++ b/sbin/dhclient-script
@@ -75,6 +75,7 @@ add_new_address() {
$LOGGER "New Routers ($interface): $new_routers"
echo $new_routers > /tmp/${interface}_router
+ echo $new_ip_address > /var/db/${interface}_ip
}
delete_old_alias() {
OpenPOWER on IntegriCloud