squid.postinst 158 B

123456
  1. #!/bin/sh
  2. . $IPKG_INSTROOT/etc/functions.sh
  3. gid=$(get_next_gid)
  4. add_user squid $(get_next_uid) $gid /var/squid/cache
  5. add_group squid $gid
  6. add_rcconf squid NO