diff options
author | John Crispin <blogic@openwrt.org> | 2014-10-08 03:45:30 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-10-08 03:45:30 +0200 |
commit | d4042ec35eecb0d417af438a3cb80cc5b7d53ae7 (patch) | |
tree | db4864a42da2eb6ea5b12fe9ad11549782eed212 /net/tor/files/tor.init | |
parent | 85695f4561e474a823347cdb2c7a9456d47c4cc6 (diff) |
generic userid: use the new USERID api
recent changes in trunk allow us to specify the userid inside the openwrt makefile.
the info is stored int he meta data of the IPK contorl file and users are generated
by the new generic postinst trigger.
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'net/tor/files/tor.init')
-rw-r--r-- | net/tor/files/tor.init | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index 7c548b40b..6974057d4 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -7,8 +7,6 @@ STOP=50 USE_PROCD=1 start_service() { - user_exists tor 52 || user_add tor 52 52 /var/lib/tor - group_exists tor 52 || group_add tor 52 [ -f /var/run/tor.pid ] || { touch /var/run/tor.pid chown tor:tor /var/run/tor.pid |