diff --git a/ehcp/install.sh b/ehcp/install.sh index 7afac2d..a9667ac 100755 --- a/ehcp/install.sh +++ b/ehcp/install.sh @@ -209,6 +209,7 @@ function installInitialPrereqs(){ # 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 + sed -i "/#\$nrconf{restart} = 'i';/s/.*/\$nrconf{restart} = 'a';/" /etc/needrestart/needrestart.conf fi }