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