summaryrefslogtreecommitdiff
path: root/package/squid/files/squid.postinst
blob: 1a99eedec303f3b0644d6fac8d08a9ab29a98383 (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 NO