summaryrefslogtreecommitdiff
path: root/scripts/vyatta-ipsec-dhcp.pl
diff options
context:
space:
mode:
authorJohn Southworth <john.southworth@vyatta.com>2011-02-17 15:41:19 -0600
committerJohn Southworth <john.southworth@vyatta.com>2011-02-17 15:41:19 -0600
commit8d0400a661907982e28bb2d6184b8c0e6dc962a2 (patch)
tree4a4729931404121e39bc3b8586eee34d6fe82fc2 /scripts/vyatta-ipsec-dhcp.pl
parent46333cc1d1ac2bb784fc887fbe28daef3b241c16 (diff)
downloadvyatta-cfg-vpn-8d0400a661907982e28bb2d6184b8c0e6dc962a2.tar.gz
vyatta-cfg-vpn-8d0400a661907982e28bb2d6184b8c0e6dc962a2.zip
Reread secrets before an update
Diffstat (limited to 'scripts/vyatta-ipsec-dhcp.pl')
-rwxr-xr-xscripts/vyatta-ipsec-dhcp.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vyatta-ipsec-dhcp.pl b/scripts/vyatta-ipsec-dhcp.pl
index 1b7c155..c0468a1 100755
--- a/scripts/vyatta-ipsec-dhcp.pl
+++ b/scripts/vyatta-ipsec-dhcp.pl
@@ -89,4 +89,5 @@ foreach my $line (@lines){
print ${output_secrets} $line;
}
close $output_secrets;
+system ("/usr/sbin/ipsec rereadall");
system ("/usr/sbin/ipsec update");