Skip to content

Commit

Permalink
Fixing systcl config
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Schoechlin committed Dec 14, 2017
1 parent e4a453e commit a832d67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension-files/postinstall
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a832d67

Please sign in to comment.