From c62ca0b438fd72192601b53cbe6a00f5c9d8d7e0 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Tue, 11 Jan 2005 17:31:34 +0000 Subject: [PATCH] Load/Remove microcode module in initscript. --- microcode_ctl.init | 6 +++--- microcode_ctl.spec | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/microcode_ctl.init b/microcode_ctl.init index 2f9d32c..65d02ce 100755 --- a/microcode_ctl.init +++ b/microcode_ctl.init @@ -56,6 +56,8 @@ function start () echo -n $"Applying Intel Microcode update: " + /sbin/modprobe microcode + daemon $PROGRAM $ARGUMENTS RETVAL=$? @@ -65,6 +67,7 @@ function start () echo $"$0: kernel does not have microcode device support" fi echo + /sbin/rmmod microcode } @@ -76,9 +79,6 @@ case "$1" in stop) ;; 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}" diff --git a/microcode_ctl.spec b/microcode_ctl.spec index 53e201b..86493b7 100644 --- a/microcode_ctl.spec +++ b/microcode_ctl.spec @@ -66,6 +66,9 @@ fi /sbin/chkconfig --add microcode_ctl %changelog +* Tue Jan 11 2005 Dave Jones +- Load/Remove microcode module in initscript. + * Mon Jan 10 2005 Dave Jones - Update to upstream 1.11 release.