1 2 3 4 5 6 7 8 9 10 11
help: Restart IPsec VPN 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 else echo IPsec process not running fi else echo IPsec VPN not configured fi