From b0954ab931f6d7ee9f844c2afaba0c92c9ef6969 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Mon, 25 Jan 2010 15:12:14 -0800 Subject: Remove duplicate crontab and stop munging /etc/crontab. --- debian/vyatta-cfg-system.postinst.in | 8 -------- 1 file changed, 8 deletions(-) (limited to 'debian') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index f06bfb50..be5d1ca6 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -139,14 +139,6 @@ if [ "$sysconfdir" != "/opt/vyatta/etc" ]; then cp $sysconfdir/level $sysconfdir/protected-user /opt/vyatta/etc fi -# update crontab for logrotate -grep -v logrotate /etc/crontab>/etc/crontab.$$ -echo "*/10 * * * * root /usr/sbin/logrotate /etc/logrotate.conf" >> /etc/crontab.$$ -rm /etc/crontab -mv /etc/crontab.$$ /etc/crontab -crontab /etc/crontab - - # create needed directories mkdir -p /var/log/user -- cgit v1.2.3