summaryrefslogtreecommitdiff
path: root/package/tinyproxy/files/tinyproxy.postinst
blob: 903927e497833b4a2dadb34551d2a60e4cfa22a7 (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 tinyproxy NO