diff options
author | Christian Hesse <mail@eworm.de> | 2014-10-16 21:05:57 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2014-10-16 21:05:57 +0200 |
commit | 8516403759119ecfd33bce62b0b83d684e12687e (patch) | |
tree | 9292bb45c3cc8036e52d01114ba19484705140c7 /40-openvpn | |
parent | 25daba80f3b7f3b522cfb8dffc2d2e6202b6ffd9 (diff) | |
download | networkmanager-dispatcher-openvpn-8516403759119ecfd33bce62b0b83d684e12687e.tar.gz networkmanager-dispatcher-openvpn-8516403759119ecfd33bce62b0b83d684e12687e.tar.zst |
use variable names
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 |