diff options
author | Daniil Baturin <daniil@baturin.org> | 2024-01-14 16:25:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-14 16:25:51 +0000 |
commit | 1312905c922987df3142e5adb12701f4321a34bd (patch) | |
tree | 2823b872b3388af75b232d468e8297a7aec35bf8 /templates | |
parent | 6e3334dec6143b7c18c6cec15344d84eb900ebb5 (diff) | |
parent | 07e1554b71c6e0af160578a414be08a9dbbafa04 (diff) | |
download | vyatta-op-vpn-8f405c438ac9ba282664597c3ac8baf83d211055.tar.gz vyatta-op-vpn-8f405c438ac9ba282664597c3ac8baf83d211055.zip |
T5715: Fix for restart vpn
Diffstat (limited to 'templates')
-rw-r--r-- | templates/restart/vpn/node.def.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/restart/vpn/node.def.in b/templates/restart/vpn/node.def.in index ad426bb..f2cb6cc 100644 --- a/templates/restart/vpn/node.def.in +++ b/templates/restart/vpn/node.def.in @@ -1,5 +1,5 @@ help: Restart IPsec VPN -run: if [ -n "$(cli-shell-api returnActiveValues vpn ipsec)" ]; then +run: if cli-shell-api existsEffective vpn ipsec; then if pgrep charon > /dev/null then @SUDOUSRDIR@/vyatta-vpn-op.pl --op=clear-vpn-ipsec-process |