Gitiles
Code Review
Sign In
gerrit.openbmc.org
/
mdmillerii
/
openbmc
/
9c30b993f6c4f32e8e674b979fb3f0f083760f27
/
.
/
meta-fii
/
meta-mori
/
recipes-extended
/
rsyslog
/
rsyslog
/
rotate-event-logs.sh
blob: 5a8c5cc10de42a3cc41093cf84a3683e5d6fc48f [
file
] [
log
] [
blame
]
#!/bin/sh
while
true
;
do
sleep
60
/
usr
/
sbin
/
logrotate
/
etc
/
logrotate
.
d
/
logrotate
.
rsyslog
ec
=
$
?
if
[
$ec
-
ne
0
]
;
then
echo
"logrotate failed ($ec)"
fi
done