]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
core121: Reload microcode after installing the core update
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 Jun 2018 16:15:43 +0000 (17:15 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 12 Jun 2018 16:15:43 +0000 (17:15 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/121/update.sh

index 76994d9226498405d7041e0a6d966f9671cf26d9..f0eb15911be8844cbca91dd70281676b109fb629 100644 (file)
@@ -118,5 +118,11 @@ fi
 
 sync
 
+# Reload microcode
+modprobe microcode
+if [ -w "/sys/devices/system/cpu/microcode/reload" ];
+       echo 1 > /sys/devices/system/cpu/microcode/reload
+fi
+
 # Don't report the exitcode last command
 exit 0