diff options
Diffstat (limited to 'scripts/vyatta-vpn-ppp-updown.pl')
-rwxr-xr-x | scripts/vyatta-vpn-ppp-updown.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-vpn-ppp-updown.pl b/scripts/vyatta-vpn-ppp-updown.pl index 1b5cfe6..00df619 100755 --- a/scripts/vyatta-vpn-ppp-updown.pl +++ b/scripts/vyatta-vpn-ppp-updown.pl @@ -161,10 +161,10 @@ my ($cmd, $rc); $cmd = "mv $tmp_conf $conf_file"; $rc =system($cmd); logit("$cmd = $rc"); -$cmd = "/usr/sbin/ipsec setup --start 2> /dev/null"; +$cmd = "/usr/sbin/ipsec start 2> /dev/null"; $rc =system($cmd); logit("$cmd = $rc"); -$cmd = "/usr/sbin/ipsec auto --rereadall 2> /dev/null"; +$cmd = "/usr/sbin/ipsec rereadall 2> /dev/null"; $rc = system($cmd); logit("$cmd = $rc"); |