summaryrefslogtreecommitdiff
path: root/debian/openvpn-generator
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2018-08-04 17:03:05 +0200
committerJörg Frings-Fürst <debian@jff.email>2018-08-04 17:03:05 +0200
commitd5078cc44b8919a25cb7507e9e6da1d66f25bb5b (patch)
tree361e4d1d74791812ebf3a8ecdf3ef98892f448bb /debian/openvpn-generator
parentf888fc8a5dc53491830353c83315a8fffd202d29 (diff)
Reverted to justified commit
Diffstat (limited to 'debian/openvpn-generator')
-rwxr-xr-xdebian/openvpn-generator11
1 files changed, 0 insertions, 11 deletions
diff --git a/debian/openvpn-generator b/debian/openvpn-generator
index b51344f..d6ac1aa 100755
--- a/debian/openvpn-generator
+++ b/debian/openvpn-generator
@@ -4,27 +4,16 @@
# tunnels listed in /etc/default/openvpn's AUTOSTART be started/stopped/reloaded
# when openvpn.service is started/stopped/reloaded.
-#
-# Changelog:
-#
-# 2018-08-04 jff use service file from /etc/systemd/system if exists.
-#
-
set -eu
GENDIR="$1"
WANTDIR="$1/openvpn.service.wants"
SERVICEFILE="/lib/systemd/system/openvpn@.service"
-SERVICEFILEMAN="/etc/systemd/system/openvpn@.service"
AUTOSTART="all"
CONFIG_DIR=/etc/openvpn
mkdir -p "$WANTDIR"
-if test -e ${SERVICEFILEMAN} ; then
- SERVICEFILE=${SERVICEFILEMAN}
-fi
-
if test -e /etc/default/openvpn ; then
. /etc/default/openvpn
fi