From b3a54c520195f3cab1109cb90de8179e4dff433f Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 29 Nov 2009 19:45:19 +0100 Subject: add bridging firewall stuff - tested with a transparent squid proxy - fix some minor other stuff - not completely ready --- package/squid/files/squid.postinst | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 package/squid/files/squid.postinst (limited to 'package/squid/files/squid.postinst') 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 -- cgit v1.2.3