summaryrefslogtreecommitdiff
path: root/cmake/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/debian/postinst')
-rwxr-xr-xcmake/debian/postinst11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/debian/postinst b/cmake/debian/postinst
new file mode 100755
index 00000000..c85dc84c
--- /dev/null
+++ b/cmake/debian/postinst
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+chmod +x /etc/init.d/accel-pptp
+
+mkdir /var/log/accel-pptp &> /dev/null
+
+if [ -f /tmp/__accel-pptp.conf ]; then
+ mv /tmp/__accel-pptp.conf /etc/accel-pptp.conf
+fi
+
+exit 0