nginx.postinst 147 B

1234567
  1. #!/bin/sh
  2. . $IPKG_INSTROOT/etc/functions.sh
  3. add_rcconf nginx NO
  4. gid=$(get_next_gid)
  5. add_group www $gid
  6. add_user www $(get_next_uid) $gid /srv/www