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 --- admin/zabbix/files/zabbix_agentd.init | 2 -- 1 file changed, 2 deletions(-) (limited to 'admin/zabbix/files') diff --git a/admin/zabbix/files/zabbix_agentd.init b/admin/zabbix/files/zabbix_agentd.init index ed9acabb9..c806a9f0b 100644 --- a/admin/zabbix/files/zabbix_agentd.init +++ b/admin/zabbix/files/zabbix_agentd.init @@ -19,8 +19,6 @@ start() { } grep -q "^AllowRoot=1" ${CONFIG} || { - user_exists zabbix 53 || user_add zabbix 53 - group_exists zabbix 53 || group_add zabbix 53 touch ${SERVICE_PID_FILE} chown zabbix:zabbix ${SERVICE_PID_FILE} } -- cgit v1.2.3