SCIENTIFIC-LINUX-USERS Archives

May 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Philipp Cain <[log in to unmask]>
Reply To:
Philipp Cain <[log in to unmask]>
Date:
Thu, 11 May 2006 09:34:41 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (17 lines)
Hello Connie and Troy,

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


So long,
Philipp.

ATOM RSS1 RSS2