[Yum] Newbie question

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

 



On Sun, 2003-11-16 at 12:10, Owyn wrote:

> You could use a simple file flag to synchronize.
> 
> The updating script could be:
> 
> touch nfspath/update-in-progress
> yum update
> rm nfspath/update-in-progress
> 
> The other scripts would then be:
> 
> while test -x nfspath/update-in-progress
> do
> sleep 600
> done
> yum update

Second thoughts and cleanup,
1)the "yum update" lines in the previous script should have been "yum -Y
update" and "yum -Y -C update"

2)You could use the same script with file flag for all systems, eg.

while test -x nfspath/update-in-progress
do
sleep 600
done
touch nfspath/update-in-progress
yum -Y update
rm nfspath/update-in-progress



[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux