summaryrefslogtreecommitdiff
path: root/package/tinyproxy/files/tinyproxy.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-12-02 19:48:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-12-02 19:48:18 +0100
commit1be6ebb92966edeea8a49f34a5e2e664f86c2946 (patch)
treeb65b2299475e820d335e96cc3c90125238873fc5 /package/tinyproxy/files/tinyproxy.postinst
parenteb10ac0e97c1e5e98ce73a1966c97a7cedb9d086 (diff)
finetune iptables, tinyproxy and dansguardian
Diffstat (limited to 'package/tinyproxy/files/tinyproxy.postinst')
-rw-r--r--package/tinyproxy/files/tinyproxy.postinst3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/tinyproxy/files/tinyproxy.postinst b/package/tinyproxy/files/tinyproxy.postinst
index 4965f625d..903927e49 100644
--- a/package/tinyproxy/files/tinyproxy.postinst
+++ b/package/tinyproxy/files/tinyproxy.postinst
@@ -1,3 +1,6 @@
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
+gid=$(get_next_gid)
+add_user tinyproxy $(get_next_uid) $gid /etc/tinyproxy
+add_group tinyproxy $gid
add_rcconf tinyproxy tinyproxy NO