# HG changeset patch # User Pascal Bellard # Date 1230116357 0 # Node ID 5c39f33a1d37ea517cbffbd52cbc7312deb8afe2 # Parent 011647445dd960a6fcfe84afb8900ad2c625b1f6 ntpclient: do not reset crontab diff -r 011647445dd9 -r 5c39f33a1d37 ntpclient/receipt --- a/ntpclient/receipt Tue Dec 23 10:34:11 2008 +0000 +++ b/ntpclient/receipt Wed Dec 24 10:59:17 2008 +0000 @@ -42,7 +42,10 @@ srv="fr.pool.ntp.org" echo "" echo -n "Setting up crontab for ntpclient..." - echo "0 0 * * * $root/usr/bin/ntpclient -s -h $srv" | crontab - -u root + crontab - -u root << EOT +$(crontab -l 2> /dev/null) +0 0 * * * $root/usr/bin/ntpclient -s -h $srv +EOT status else echo "Don't forget to run ntpclient -s -h "