aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/openvpn/files/etc/openvpn.user
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/services/openvpn/files/etc/openvpn.user')
-rw-r--r--package/network/services/openvpn/files/etc/openvpn.user11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/openvpn/files/etc/openvpn.user b/package/network/services/openvpn/files/etc/openvpn.user
new file mode 100644
index 0000000000..a77566556a
--- /dev/null
+++ b/package/network/services/openvpn/files/etc/openvpn.user
@@ -0,0 +1,11 @@
+#!/bin/sh
+#
+# This file is interpreted as shell script.
+# Put your custom openvpn action here, they will
+# be executed with each opevnp event.
+#
+# $ACTION
+# <down> down action is generated after the TUN/TAP device is closed
+# <up> up action is generated after the TUN/TAP device is opened
+# $INSTANCE Name of the openvpn instance which went up or down
+