From bf4083d74aed71f308ecf20c07f4facb18b6119c Mon Sep 17 00:00:00 2001 From: Marc Schoechlin Date: Wed, 6 Dec 2017 17:18:53 +0100 Subject: [PATCH] Fix --- extension-files/postinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension-files/postinstall b/extension-files/postinstall index 2304c64..92499fe 100644 --- a/extension-files/postinstall +++ b/extension-files/postinstall @@ -29,7 +29,7 @@ fi if (grep -qi "Centos" /etc/os-release);then echo "Installing SELinux rules" - checkmodule -M -m -o /var/run/zabbix/centos_zabbix_agent.mod /usr/share/zabbix-agent-extensions/selinux/centos_zabbix_agent.te + checkmodule -M -m -o /var/run/zabbix/zabbix_agent.mod /usr/share/zabbix-agent-extensions/selinux/centos_zabbix_agent.te semodule_package -m /var/run/zabbix/zabbix_agent.mod -o /var/run/zabbix/centos_zabbix_agent.pp semodule -i /var/run/zabbix/centos_zabbix_agent.pp fi