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
/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
/bin/sh
if [ "$1" = "0" ]; then rm -f /etc/cron.d/mrtg fi