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