From d4042ec35eecb0d417af438a3cb80cc5b7d53ae7 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 8 Oct 2014 03:45:30 +0200 Subject: 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 --- net/tor/files/tor.init | 2 -- 1 file changed, 2 deletions(-) (limited to 'net/tor/files/tor.init') 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 -- cgit v1.2.3