Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
#!/bin/bash
2
 
3
# do not run if mcelogd is running
4
service mcelogd status >& /dev/null
5
[ $? -eq 0 ] && exit 0
6
 
7
# is mcelog supported?
8
/usr/sbin/mcelog --supported >& /dev/null
9
if [ $? -eq 1 ]; then
10
       exit 1;
11
fi
12
 
13
/usr/sbin/mcelog --ignorenodev --filter >> /var/log/mcelog