etc-gentoo/cron.daily/mcelog

4 lines
141 B
Plaintext
Raw Normal View History

#!/bin/bash
header="$(date +"%b %d %H:%M:%S") $(hostname) "
/usr/sbin/mcelog --ignorenodev --filter | sed "s,^,$header,g" >> /var/log/mcelog