Re: [HS]Xfree en testing: faites attention!
On Mon, 5 May 2003 11:44:56 +0200
Georges Mariano <georges.mariano@inrets.fr> wrote:
> > C'est fait tous les jours grace au fichier /etc/cron.daily/standard et
> > netkit-inetd pour inetd.conf. Tu peux donc rajouter un fichier xfree
> > basé sur netkit-inetd dans /etc/cron.daily/ pour être "debian way".
>
> je décode pas là ...
>
#!/bin/sh
# /etc/cron.daily/xfree: xfree daily maintenance script
# Inspiré du script netkit-inetd de Peter Tobias <tobias@linux.de>
bak=/var/backups
file=/etc/X11/XF86Config-4
filename=`basename $file`
umask 022
if cd $bak
then
if [ -s $file ]; then
if [ -s $filename.bak ]; then
if ! cmp -s $filename.bak $filename; then
if [ -s $filename.bak ]; then
savelog -m 644 $filename.bak >/dev/null
fi
cp -p $file $filename.bak
fi
else
cp -p $file $filename.bak
fi
fi
fi
Reply to: