summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2007-12-20 20:43:38 -0800
committerStig Thormodsrud <stig@vyatta.com>2007-12-20 20:43:38 -0800
commitb210486cd5fdf0a1397e80939e50bd25a9ea3dc9 (patch)
treec3a23d27bac36b9076923b057a75df016c7e49b2 /templates
parent9f2e2dea5f8d84872ed92b4a974ff588f2f71c91 (diff)
downloadvyatta-cfg-vpn-b210486cd5fdf0a1397e80939e50bd25a9ea3dc9.tar.gz
vyatta-cfg-vpn-b210486cd5fdf0a1397e80939e50bd25a9ea3dc9.zip
Fix for vpn cfg with non-root userid.
Diffstat (limited to 'templates')
-rw-r--r--templates/vpn/node.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/vpn/node.def b/templates/vpn/node.def
index cef282e..5880e47 100644
--- a/templates/vpn/node.def
+++ b/templates/vpn/node.def
@@ -1 +1,2 @@
-end: "/opt/vyatta/sbin/vpn-config.pl --config_file='/etc/ipsec.conf' --secrets_file='/etc/ipsec.secrets' --init_script='/etc/init.d/ipsec' >> /tmp/ipsec.log"
+help: "Configure VPN"
+end: "sudo /opt/vyatta/sbin/vpn-config.pl --config_file='/etc/ipsec.conf' --secrets_file='/etc/ipsec.secrets' --init_script='/etc/init.d/ipsec' "