Sophie

Sophie

distrib > Mandriva > cs4.0 > x86_64 > by-pkgid > a8505b3e0318dc41ef605771f534d164 > scriptlet

mrtg-2.12.2-2mdk.x86_64.rpm

POSTIN

/bin/sh
if [ ! -f /etc/cron.d/mrtg ]; then
	echo "0-59/5 * * * * root /usr/bin/mrtg /var/www/html/mrtg/mrtg.cfg" > /etc/cron.d/mrtg
fi

POSTUN

/bin/sh
if [ "$1" = "0" ]; then
	rm -f /etc/cron.d/mrtg
fi