summaryrefslogtreecommitdiff
path: root/openvpn/sample/sample-config-files/openvpn-shutdown.sh
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-04-16 19:21:14 +0200
committerArne Schwabe <arne@rfc2549.org>2012-04-16 19:21:14 +0200
commit3e4d8f433239c40311037616b1b8833a06651ae0 (patch)
tree98ab7fce0d011d34677b0beb762d389cb5c39199 /openvpn/sample/sample-config-files/openvpn-shutdown.sh
Initial import
Diffstat (limited to 'openvpn/sample/sample-config-files/openvpn-shutdown.sh')
-rwxr-xr-xopenvpn/sample/sample-config-files/openvpn-shutdown.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/openvpn/sample/sample-config-files/openvpn-shutdown.sh b/openvpn/sample/sample-config-files/openvpn-shutdown.sh
new file mode 100755
index 00000000..8ed2d1d5
--- /dev/null
+++ b/openvpn/sample/sample-config-files/openvpn-shutdown.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# stop all openvpn processes
+
+killall -TERM openvpn