diff options
Diffstat (limited to '40-openvpn')
-rwxr-xr-x | 40-openvpn | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,9 @@ #!/bin/sh -if [ "${2}" == "up" ]; then +INTERFACE="${1}" +STATUS="${2}" + +if [ "${STATUS}" == "up" ]; then if pgrep -x openvpn >/dev/null; then kill -USR1 $(pgrep -x openvpn) fi |