]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/rootfiles/core/153/update.sh
core153: Ship Intel mircocode and ask for reboot
[ipfire-2.x.git] / config / rootfiles / core / 153 / update.sh
index a6ddc00192c921f9e33642ef3581e820f31a1383..8e528b259826e97e1272bc846c1c2378e9c10df6 100644 (file)
@@ -57,7 +57,7 @@ chown -vR root:root /etc/ntp
 sysctl -p
 
 # This update needs a reboot...
-#touch /var/run/need_reboot
+touch /var/run/need_reboot
 
 # Finish
 /etc/init.d/fireinfo start
@@ -70,5 +70,11 @@ fi
 
 sync
 
+# Reload microcode
+modprobe microcode
+if [ -w "/sys/devices/system/cpu/microcode/reload" ]; then
+       echo 1 > /sys/devices/system/cpu/microcode/reload
+fi
+
 # Don't report the exitcode last command
 exit 0