lighttpd.postinst 242 B

1234567
  1. #!/bin/sh
  2. . $IPKG_INSTROOT/etc/functions.sh
  3. add_rcconf lighttpd lighttpd NO
  4. add_rcconf lighttpd_flags lighttpd_flags "-f /etc/lighttpd/lighttpd.conf"
  5. gid=$(get_next_gid)
  6. add_user lighttpd $(get_next_uid) $gid /srv/www
  7. add_group lighttpd $gid