OpenWrt – Blame information for rev 4

Subversion Repositories:
Rev:
Rev Author Line No. Line
4 office 1 #!/bin/sh
2 # Copyright (C) 2018 OpenWrt.org
3  
4 do_load_x86_ucode() {
5 if [ -e "/sys/devices/system/cpu/microcode/reload" ]; then
6 echo 1 > /sys/devices/system/cpu/microcode/reload
7 fi
8 }
9  
10 boot_hook_add preinit_main do_load_x86_ucode