summaryrefslogtreecommitdiff
path: root/package/squid/files/squid.postinst
blob: 6a08126c936dc91810ac0367a303bdbe186e8a9f (plain)
1
2
3
4
5
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