diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-01-24 16:46:48 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-01-24 16:46:48 -0800 |
commit | 9c262c43444441dbbbf5bbccc6dae0583abbdec6 (patch) | |
tree | 29e81f048ade3bc74edbdfe3e6fe62fdd49858bd /scripts/vyatta-interfaces.pl | |
parent | 5c97a19976e400901b06b6784d767925e0893799 (diff) | |
download | vyatta-cfg-9c262c43444441dbbbf5bbccc6dae0583abbdec6.tar.gz vyatta-cfg-9c262c43444441dbbbf5bbccc6dae0583abbdec6.zip |
add script to /etc/dhcp3/dhclient-exit-hooks to store values received by dhclient
Diffstat (limited to 'scripts/vyatta-interfaces.pl')
-rw-r--r-- | scripts/vyatta-interfaces.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl index dde54c7..1f13e20 100644 --- a/scripts/vyatta-interfaces.pl +++ b/scripts/vyatta-interfaces.pl @@ -277,6 +277,7 @@ sub delete_eth_addrs { if ($addr eq "dhcp") { dhcp_release_addr($intf); update_dhcp_client(); + system("rm -f /var/lib/dhcp3/dhclient_$intf\_lease"); return; } my $version = is_ip_v4_or_v6($addr); |