4 [ -f /etc/sysconfig/chkrootkit ] && . /etc/sysconfig/chkrootkit
10 t=`mktemp ${TMPDIR:-/tmp}/chkrootkitXXXXXX` || exit 1
11 echo -n "Generated with: " > $t
12 /usr/bin/chkrootkit -V 2>> $t
13 /usr/bin/chkrootkit 2>&1 | /bin/egrep -v '(not (infected|found|promisc)|nothing (found|detected|deleted)|no suspect files|ROOTDIR is)' >> $t
15 if [ "${L% *}" -gt 1 ]; then
16 mail -s "CHKROOTKIT $SYSTEM $DATE" $CHKROOTKIT_MAILTO < $t