parent
01020bc74d
commit
1ba6d59f2b
@ -0,0 +1,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 |
Loading…
Reference in new issue