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