diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2007-12-20 20:43:38 -0800 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2007-12-20 20:43:38 -0800 |
commit | b210486cd5fdf0a1397e80939e50bd25a9ea3dc9 (patch) | |
tree | c3a23d27bac36b9076923b057a75df016c7e49b2 | |
parent | 9f2e2dea5f8d84872ed92b4a974ff588f2f71c91 (diff) | |
download | vyatta-cfg-vpn-b210486cd5fdf0a1397e80939e50bd25a9ea3dc9.tar.gz vyatta-cfg-vpn-b210486cd5fdf0a1397e80939e50bd25a9ea3dc9.zip |
Fix for vpn cfg with non-root userid.
-rw-r--r-- | templates/vpn/node.def | 3 |
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' " |