summaryrefslogtreecommitdiff
path: root/package/tor/files/tor.postinst
blob: b3bb981a17f8beea938e5315eaa2678443e3108f (plain)
1
2
3
4
5
6
#!/bin/sh
. $IPKG_INSTROOT/etc/functions.sh
add_rcconf tor tor NO
gid=$(get_next_gid)
add_group tor $gid
add_user tor $(get_next_uid) $gid /tmp/.tor