summaryrefslogtreecommitdiff
path: root/debian/openvpn.if-up.d
blob: 539112a03e89b72fb0356e866d9a35196fee452f (plain)
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 start $vpn
  done
fi