From a832d67d33b438b2713accdf7e0b64fef4b9321a Mon Sep 17 00:00:00 2001 From: Marc Schoechlin Date: Thu, 14 Dec 2017 14:20:34 +0100 Subject: [PATCH] Fixing systcl config --- extension-files/postinstall | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extension-files/postinstall b/extension-files/postinstall index f937cae..73b59bd 100644 --- a/extension-files/postinstall +++ b/extension-files/postinstall @@ -36,7 +36,8 @@ if (grep -qi "Centos" /etc/os-release);then semodule -i /var/run/zabbix/centos_zabbix_agent.pp fi -if (grep -qi "Debian" /etc/os-release);then +if (grep -q "Debian" /etc/os-release);then + echo "Installing sysctl config" echo "kernel.dmesg_restrict=0" > /etc/sysctl.d/99-dmesg.conf sysctl -p fi