diff options
Diffstat (limited to 'package/tinyproxy/files/tinyproxy.postinst')
-rw-r--r-- | package/tinyproxy/files/tinyproxy.postinst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/tinyproxy/files/tinyproxy.postinst b/package/tinyproxy/files/tinyproxy.postinst index 4965f625d..903927e49 100644 --- a/package/tinyproxy/files/tinyproxy.postinst +++ b/package/tinyproxy/files/tinyproxy.postinst @@ -1,3 +1,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 |