From cfbd26e0ef9332a9191592b97ed866e598f986cc Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Thu, 17 Nov 2022 12:46:53 -0800 Subject: [PATCH] disable kernelhints --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 666feca..a1821e0 100644 --- a/install.sh +++ b/install.sh @@ -27,6 +27,8 @@ WEBMASTER=webmaster@`hostname -d` # have packages automatically start/restart/stop after install/upgrade/uninstall if [[ -f /etc/needrestart/needrestart.conf ]]; then sed -i "s|^#\$nrconf{restart} = 'i';|\$nrconf{restart} = 'a';|g" /etc/needrestart/needrestart.conf + # disable kernelhints (no warnings about currently running kernel version) + echo '$nrconf{kernelhints} = 0;' > /etc/needrestart/conf.d/kernelhints.conf fi if [[ -f /usr/sbin/policy-rc.d ]]; then sed -i "s|exit 101|exit 0|g" /usr/sbin/policy-rc.d