From: Laurent Mazet Date: Tue, 25 Oct 2016 21:55:25 +0000 (+0200) Subject: correct secondary /var/log cleaning procedure X-Git-Tag: debian_12.5.0~8 X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=ebe5afcc4eee572ec7210ee49ceb3f8969317406;p=debian6500.git correct secondary /var/log cleaning procedure --- diff --git a/master/etc/rc.local b/master/etc/rc.local index 9dcf833..0cc5c0e 100644 --- a/master/etc/rc.local +++ b/master/etc/rc.local @@ -12,6 +12,6 @@ # By default this script does nothing. # clean /var/log -/usr/sbin/logrotate /etc/logrotate.conf --force || { find /var/log/ -type f -exec rm {} \;; reboot; } +/usr/sbin/logrotate /etc/logrotate.conf --force || { find /var/log/ -type f -exec rm {} \;; reboot; } exit 0