From 9118f812de63247b4d4ee9e4262d040090697bea Mon Sep 17 00:00:00 2001
From: Kim Hagen <kim.sidney@gmail.com>
Date: Wed, 24 Feb 2016 07:46:58 -0500
Subject: remove reference to dmvpn.secrets and chang dmvpn.conf to
 swanctl.conf

---
 templates/vpn/node.def | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

(limited to 'templates/vpn/node.def')

diff --git a/templates/vpn/node.def b/templates/vpn/node.def
index 7c6b56a..ae2d6a9 100644
--- a/templates/vpn/node.def
+++ b/templates/vpn/node.def
@@ -2,8 +2,7 @@ priority: 900
 help: Virtual Private Network (VPN)
 end:sudo /opt/vyatta/sbin/vyatta-vti-config.pl || exit 1
     sudo /opt/vyatta/sbin/dmvpn-config.pl \
-              --config_file='/etc/dmvpn.conf' \
-              --secrets_file='/etc/dmvpn.secrets' \
+              --config_file='/etc/swanctl/swanctl.conf' \
               --init_script='/etc/init.d/ipsec' || exit 1
     sudo /opt/vyatta/sbin/vyos-update-nhrp.pl --set_ipsec || exit 1
     sudo /opt/vyatta/sbin/vpn-config.pl \
-- 
cgit v1.2.3

