buildrootschalter/package/iucode-tool/S00iucode-tool
Maxime Hadjinlian 3f2d43e3ed iucode-tools: new package
iucode_tool is a program to manipulate Intel® X86 and X86-64 processor
microcode collections, and to use the kernel facilities to upgrade the
microcode on Intel system processors.
It was originally sent by Richard Braun <rbraun@sceen.net>

[Peter: drop 'sid' from upstream URL]
Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Cc: Richard Braun <rbraun@sceen.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-04 15:53:57 +01:00

24 lines
319 B
Bash

#!/bin/sh
#
# Upload microcode into the processor.
#
microcode_file="/usr/share/misc/intel-microcode.dat"
case "$1" in
start)
echo "Starting iucode-tool:"
/usr/sbin/iucode_tool -k $microcode_file
echo "done"
;;
stop)
;;
restart|reload)
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit $?