~ubuntu-branches/ubuntu/trusty/openvpn/trusty

1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

OPENVPN=/etc/init.d/openvpn

if [ ! -x $OPENVPN ]; then
  exit 0
fi

if [ -n "$IF_OPENVPN" ]; then
  for vpn in $IF_OPENVPN; do
    $OPENVPN stop $vpn
  done
fi