[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Crontab and init scripts



> umm - when did anyone say yum put a pid file in /var/run?
>
> lockfile=/var/lock/subsys/yum
>
> RETVAL=0
>
> start() {
>     echo -n $"Enabling nightly yum update: "
>     touch "$lockfile" && success || failure
>     RETVAL=$?
>     echo
> }
>
>
> -sv

Sorry, I don't know why I thought that.  Must...get...more..sleeeeeep.....  :-D

         -Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]