#!/bin/bash # # Drive a stake through anacron's heart if updates try to # reinstall it. # for i in /etc/cron.d/0hourly /etc/cron.hourly/0anacron /etc/anacrontab do if [ -s $i ] then cat /dev/null > $i fi rm -f $i.rpmnew rm -f $i.rpmsave done