diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-15 20:40:10 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-11-15 20:40:10 +0100 |
commit | 75f2ac2312c3b98e94bb98941074fa85aba03841 (patch) | |
tree | 357980aaa9a4e6b4e892433fcec02ec59dd886a6 /package/privoxy/files/privoxy.postinst | |
parent | 4fc73402ed1cec95693ee5e8549cef6c3079717f (diff) |
update privoxy package
- add /etc/privoxy
- add postinst script for user/group add
- add init script
Diffstat (limited to 'package/privoxy/files/privoxy.postinst')
-rw-r--r-- | package/privoxy/files/privoxy.postinst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package/privoxy/files/privoxy.postinst b/package/privoxy/files/privoxy.postinst new file mode 100644 index 000000000..105b430c2 --- /dev/null +++ b/package/privoxy/files/privoxy.postinst @@ -0,0 +1,7 @@ +#!/bin/sh +. $IPKG_INSTROOT/etc/functions.sh + +gid=$(get_next_gid) +add_user privoxy $(get_next_uid) $gid /etc/privoxy +add_group privoxy $gid +add_rcconf privoxy privoxy NO |