summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2010-01-25 15:12:14 -0800
committerStig Thormodsrud <stig@vyatta.com>2010-01-25 15:12:14 -0800
commitb0954ab931f6d7ee9f844c2afaba0c92c9ef6969 (patch)
tree230f16733cc71fc0cbec1dc8fc90403b8810e887
parent8c1c3d35c7a34fbbcf1d9f5c99e07dd0e9968fc3 (diff)
downloadvyatta-cfg-system-b0954ab931f6d7ee9f844c2afaba0c92c9ef6969.tar.gz
vyatta-cfg-system-b0954ab931f6d7ee9f844c2afaba0c92c9ef6969.zip
Remove duplicate crontab and stop munging /etc/crontab.
-rw-r--r--debian/vyatta-cfg-system.postinst.in8
1 files changed, 0 insertions, 8 deletions
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