/
etc
/
needrestart
/
/etc/needrestart
mkdir
upload
Name
Size
Mode
Actions
conf.d/
-
0755
rm
hook.d/
-
0755
rm
notify.d/
-
0755
rm
restart.d/
-
0755
rm
iucode.sh
679
0644
edit
dl
rm
needrestart.conf
6012
0644
edit
dl
rm
notify.conf
545
0644
edit
dl
rm
Edit:
/etc/needrestart/iucode.sh
(679B)
# needrestart - Restart daemons after library updates. # # This shell script is sourced in /usr/lib/needrestart/iucode-scan-versions # before calling iucode_tool to detect microcode updates for Intel CPUs. # # If required you may exec iucode_tool with customized parameters. You should # keep the `-l $filter` option and add a final exit statement in case the # exec call fails. # Example (generic): # exec iucode_tool -l $filter --ignore-broken -tb /lib/firmware/intel-ucode -ta /usr/share/misc/intel-microcode* 2>&1 # exit $? # Example (CentOS): # lsinitrd -f kernel/x86/microcode/GenuineIntel.bin $(/boot/initramfs-*.img|sort -n|tail -n 1) | iucode_tool -t b -l - # exit $?
Save
cmd:
run