diff --git a/templates/restart/vpn/node.def.in b/templates/restart/vpn/node.def.in index ad426bb..4366d19 100644 --- a/templates/restart/vpn/node.def.in +++ b/templates/restart/vpn/node.def.in @@ -1,5 +1,6 @@ help: Restart IPsec VPN -run: if [ -n "$(cli-shell-api returnActiveValues vpn ipsec)" ]; then +run: if [ -n "$(cli-shell-api returnActiveValues \ + vpn ipsec ipsec-interfaces interface)" ]; then if pgrep charon > /dev/null then @SUDOUSRDIR@/vyatta-vpn-op.pl --op=clear-vpn-ipsec-process