On Thu, May 11, 2006 at 09:34:41AM +0200, Philipp Cain wrote:
> there seems to be two typos in the daily yum.cron script function
> random_sleep():
>
> utime=`cat /proc/uptime | cut -d' ' -f1 | cut -d'.' -f1`
> if [ utime -ge 72000] ; then
> RAN=$RANDOM
>
> the "if" line should be:
>
> if [ $utime -ge 72000 ]; then
while we're at it get rid of the UUOC and make it
| cut -d. -f1 /proc/uptime