aboutsummaryrefslogtreecommitdiffstats
path: root/40-openvpn
blob: 3df20dd428370810d25975620dcd0a8c0d2c5f1b (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

INTERFACE="${1}"
STATUS="${2}"

if [ "${STATUS}" == "up" ]; then
	if pgrep -x openvpn >/dev/null; then
		kill -USR1 $(pgrep -x openvpn)
	fi
fi