Disable "Pending kernel upgrade" and "Daemons using outdated libraries" messages

cp -f /etc/needrestart/needrestart.conf /etc/needrestart/needrestart.conf.orig

sed -i "s/^#\$nrconf{kernelhints} = -1;/\$nrconf{kernelhints} = -1;/g" /etc/needrestart/needrestart.conf
sed -i "s/^#\$nrconf{restart} = 'i';/\$nrconf{restart} = 'a';/g" /etc/needrestart/needrestart.conf
위로 스크롤