consistent indentation
This commit is contained in:
parent
933d8a2d15
commit
8bb452b3cb
@ -40,10 +40,10 @@ function start ()
|
||||
RETVAL=1
|
||||
# Make sure we are on an intel machine
|
||||
vendor=`cat /proc/cpuinfo | \
|
||||
grep "^vendor_id" | sort -u | \
|
||||
awk -F ": " '{ print $2 }'`
|
||||
grep "^vendor_id" | sort -u | \
|
||||
awk -F ": " '{ print $2 }'`
|
||||
if [ "$vendor" != "GenuineIntel" ]; then
|
||||
return
|
||||
return
|
||||
fi
|
||||
|
||||
# Microcode wasn't available until 686's.
|
||||
@ -60,9 +60,9 @@ function start ()
|
||||
|
||||
lt=0
|
||||
while [ ! -c /dev/cpu/microcode ]; do
|
||||
lt=$[lt+1];
|
||||
[ $lt -gt 5 ] && break;
|
||||
sleep 1;
|
||||
lt=$[lt+1];
|
||||
[ $lt -gt 5 ] && break;
|
||||
sleep 1;
|
||||
done
|
||||
|
||||
daemon $PROGRAM $ARGUMENTS
|
||||
@ -73,8 +73,8 @@ function start ()
|
||||
then
|
||||
echo $"$0: kernel does not have microcode device support"
|
||||
fi
|
||||
/sbin/rmmod microcode
|
||||
echo
|
||||
/sbin/rmmod microcode
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user