tor.postinst 148 B

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