etc-gentoo/cron.daily/mcelog
Hans Wurst ceaa4c576c committing changes in /etc after emerge run
Package changes:
+app-admin/mcelog-122
2015-08-15 01:00:14 +02:00

4 lines
141 B
Bash

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