diff options
author | John Southworth <john.southworth@vyatta.com> | 2011-02-17 15:41:19 -0600 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2011-02-17 15:41:19 -0600 |
commit | 8d0400a661907982e28bb2d6184b8c0e6dc962a2 (patch) | |
tree | 4a4729931404121e39bc3b8586eee34d6fe82fc2 /scripts/vyatta-ipsec-dhcp.pl | |
parent | 46333cc1d1ac2bb784fc887fbe28daef3b241c16 (diff) | |
download | vyatta-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-x | scripts/vyatta-ipsec-dhcp.pl | 1 |
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"); |