From 25daba80f3b7f3b522cfb8dffc2d2e6202b6ffd9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 14 Sep 2014 21:21:14 +0200 Subject: add dispatcher script and Makefile --- 40-openvpn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 40-openvpn (limited to '40-openvpn') diff --git a/40-openvpn b/40-openvpn new file mode 100755 index 0000000..0af45ca --- /dev/null +++ b/40-openvpn @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ "${2}" == "up" ]; then + if pgrep -x openvpn >/dev/null; then + kill -USR1 $(pgrep -x openvpn) + fi +fi -- cgit v1.2.3-70-g09d2