#!/bin/sh INTERFACE="${1}" STATUS="${2}" if [ "${STATUS}" == "up" ]; then if pgrep -x openvpn >/dev/null; then kill -USR1 $(pgrep -x openvpn) fi fi