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