Keep Kernel Update Notices from Stopping Install

This commit is contained in:
earnolmartin 2023-10-23 18:40:30 -06:00
parent 10b909024d
commit f715b7e53d

View file

@ -205,6 +205,11 @@ function installInitialPrereqs(){
aptgetInstall subversion
aptgetInstall curl
aptgetInstall zip
# Keep kernel update notifications from interrupting...
if [ -e "/etc/needrestart/needrestart.conf" ]; then
sed -i "s/#\$nrconf{kernelhints} = -1;/\$nrconf{kernelhints} = -1;/g" /etc/needrestart/needrestart.conf
fi
}
function setTimezoneManually(){