Load/Remove microcode module in initscript.

This commit is contained in:
Dave Jones 2005-01-11 17:31:34 +00:00
parent 5952075a6a
commit c62ca0b438
2 changed files with 6 additions and 3 deletions

View File

@ -56,6 +56,8 @@ function start ()
echo -n $"Applying Intel Microcode update: " echo -n $"Applying Intel Microcode update: "
/sbin/modprobe microcode
daemon $PROGRAM $ARGUMENTS daemon $PROGRAM $ARGUMENTS
RETVAL=$? RETVAL=$?
@ -65,6 +67,7 @@ function start ()
echo $"$0: kernel does not have microcode device support" echo $"$0: kernel does not have microcode device support"
fi fi
echo echo
/sbin/rmmod microcode
} }
@ -76,9 +79,6 @@ case "$1" in
stop) stop)
;; ;;
status) status)
# I wonder when the driver will let us do this...
# maybe I'll write it ;)
echo $"$0: reading microcode status is not yet supported"
;; ;;
*) *)
echo $"Usage: $0 {start|restart}" echo $"Usage: $0 {start|restart}"

View File

@ -66,6 +66,9 @@ fi
/sbin/chkconfig --add microcode_ctl /sbin/chkconfig --add microcode_ctl
%changelog %changelog
* Tue Jan 11 2005 Dave Jones <davej@redhat.com>
- Load/Remove microcode module in initscript.
* Mon Jan 10 2005 Dave Jones <davej@redhat.com> * Mon Jan 10 2005 Dave Jones <davej@redhat.com>
- Update to upstream 1.11 release. - Update to upstream 1.11 release.