Add user handling, support for wireshark-lua + debian/anytun.default; Update changelo...
[anytun.git] / debian / postinst
index 6fe7cc6..9896643 100755 (executable)
@@ -7,4 +7,8 @@ if [ -x "/etc/init.d/anytun" ]; then
   update-rc.d anytun defaults >/dev/null
 fi
 
+if [ "$1" = "configure" ]; then
+  adduser --quiet --system --group --no-create-home --home /var/run/anytun anytun
+fi
+
 #DEBHELPER#