summaryrefslogtreecommitdiff
path: root/package/squid/files/squid.postinst
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-11-29 19:45:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2009-11-29 19:45:19 +0100
commitb3a54c520195f3cab1109cb90de8179e4dff433f (patch)
tree6728c4cdb14fd18a6b7c040c7d395a2d5603fc74 /package/squid/files/squid.postinst
parent81b38e16646cc758202b51b5174da63e2e09646a (diff)
add bridging firewall stuff
- tested with a transparent squid proxy - fix some minor other stuff - not completely ready
Diffstat (limited to 'package/squid/files/squid.postinst')
-rw-r--r--package/squid/files/squid.postinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/squid/files/squid.postinst b/package/squid/files/squid.postinst
new file mode 100644
index 000000000..6a08126c9
--- /dev/null
+++ b/package/squid/files/squid.postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+. $IPKG_INSTROOT/etc/functions.sh
+gid=$(get_next_gid)
+add_user squid $(get_next_uid) $gid /var/squid/cache
+add_group squid $gid
+add_rcconf squid squid NO