mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-04-29 21:21:54 +01:00
24 lines
319 B
Bash
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 $?
|