1 DESCRIPTION
= "simple logrotate bash script"
7 SRC_URI
= "http://download.berlin.freifunk.net/meshcube.org/nylon/stable/sources/logrotate_${SRCDATE}.tgz"
11 (cd $
{S
}; tar -c --exclude .svn -f - . ) | tar -C ${D} -xpf -
16 ROOTCRON
=/etc
/cron
/crontabs
/root
18 test
-e
/etc
/cron
/crontabs
/root \
19 && grep '^
[^#
].
*logrotate' $ROOTCRON
> /dev
/null \
20 || echo
"*/5 * * * * /bin/bash ${sbindir}/logrotate -m 0600 -o root -g root -s 800 -l 3 /tmp/messages" >> $ROOTCRON
22 /etc
/init.d
/cron restart