Lines 20-26
Link Here
|
20 |
|
20 |
|
21 |
# set to 1 to recieve only warnings & errors |
21 |
# set to 1 to recieve only warnings & errors |
22 |
# set to 2 to recieve ALL rkhunter output |
22 |
# set to 2 to recieve ALL rkhunter output |
23 |
EMAIL_VERBOSITY=1 |
23 |
# set to 3 to recieve rkhunter report |
|
|
24 |
EMAIL_VERBOSITY=3 |
24 |
|
25 |
|
25 |
### End Configuration ### |
26 |
### End Configuration ### |
26 |
|
27 |
|
Lines 30-37
Link Here
|
30 |
if [ "${SEND_EMAIL}" = "yes" ]; then |
31 |
if [ "${SEND_EMAIL}" = "yes" ]; then |
31 |
if [ "${EMAIL_VERBOSITY}" -eq 1 ]; then |
32 |
if [ "${EMAIL_VERBOSITY}" -eq 1 ]; then |
32 |
CMD="${CMD} --quiet ${EMAIL_CMD}" |
33 |
CMD="${CMD} --quiet ${EMAIL_CMD}" |
33 |
else |
34 |
elif [ "${EMAIL_VERBOSITY}" -eq 2 ]; then |
34 |
CMD="${CMD} ${EMAIL_CMD}" |
35 |
CMD="${CMD} ${EMAIL_CMD}" |
|
|
36 |
else # default to report-mode |
37 |
CMD="${CMD} --report-mode ${EMAIL_CMD}" |
35 |
fi |
38 |
fi |
36 |
else |
39 |
else |
37 |
CMD="${CMD} &>/dev/null" |
40 |
CMD="${CMD} &>/dev/null" |