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