openvpn: remove
[openwrt/openwrt.git] / package / network / services / openvpn / files / etc / hotplug.d / openvpn / 01-user
diff --git a/package/network/services/openvpn/files/etc/hotplug.d/openvpn/01-user b/package/network/services/openvpn/files/etc/hotplug.d/openvpn/01-user
deleted file mode 100644 (file)
index f93823e..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-. /lib/functions/openvpn.sh
-
-[ -e "/etc/openvpn.user" ] && {
-       env -i ACTION="$ACTION" INSTANCE="$INSTANCE" \
-               /bin/sh \
-               /etc/openvpn.user \
-               $*
-}
-
-# Wrap user defined scripts on up/down events
-case "$ACTION" in
-       up|down)
-               if get_openvpn_option "$config" command "$ACTION"; then
-                       shift
-                       exec /bin/sh -c "$command $*"
-               fi
-       ;;
-esac
-
-exit 0