summaryrefslogtreecommitdiffstats
path: root/package/iucode-tool/S00iucode-tool
blob: 0c1e409de2c5f416899f7e09194bcc5b7aceadc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/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 $?
OpenPOWER on IntegriCloud