SpectreOS-old/openvpn-reconnect

7 lines
137 B
Text
Raw Permalink Normal View History

2018-07-30 00:58:34 +02:00
#!/bin/sh
if [ "$(id -u)" != 0 ]; then
>&2 echo "$0 must be run with root privileges!"
exit 1
fi
pkill --signal SIGHUP --exact openvpn