summaryrefslogtreecommitdiff
path: root/package/privoxy/files/privoxy.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'package/privoxy/files/privoxy.postinst')
-rw-r--r--package/privoxy/files/privoxy.postinst7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/privoxy/files/privoxy.postinst b/package/privoxy/files/privoxy.postinst
new file mode 100644
index 000000000..105b430c2
--- /dev/null
+++ b/package/privoxy/files/privoxy.postinst
@@ -0,0 +1,7 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+
+gid=$(get_next_gid)
+add_user privoxy $(get_next_uid) $gid /etc/privoxy
+add_group privoxy $gid
+add_rcconf privoxy privoxy NO