summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst7
1 files changed, 0 insertions, 7 deletions
diff --git a/debian/postinst b/debian/postinst
index af4e940..c377fc6 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -35,13 +35,6 @@ case "$1" in
[ -e /dev/net ] || mkdir -m 755 /dev/net
[ -d /dev/net -a ! -e /dev/net/tun ] && mknod /dev/net/tun c 10 200
fi
- # move /run/openvpn.foo.pid to (subdir) /run/openvpn/foo.pid
- if [ -n "$2" ] && dpkg --compare-versions "$2" lt 2.3.2-6 ; then
- mkdir -p /run/openvpn
- for f in $(ls /var/run/openvpn.*.pid /var/run/openvpn.*.status 2>/dev/null); do
- mv "$f" "/run/openvpn/$(basename $f | sed 's/^openvpn\.//')"
- done
- fi
for f in /run/sendsigs.omit.d/openvpn.*.pid; do
[ -e "$f" ] && continue
b="$(basename $f|sed 's/openvpn\.//')"