projects
/
openwrt
/
staging
/
wigyori.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fb309c75c115c16436209f0f69df0c3f491bd19e
[openwrt/staging/wigyori.git]
/
target
/
linux
/
x86
/
base-files
/
lib
/
preinit
/
02_load_x86_ucode
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
/
cp
u
/
microcode
/
reload
7
fi
8
}
9
10
boot_hook_add preinit_main do_load_x86_ucode