freedomboneeee/tests/check-aide-cron.sh

6 lines
97 B
Bash
Raw Normal View History

#1/bin/bash
if [ $(grep aide /etc/crontab /etc/cron.*/* | wc -l) -ne 0 ];then
exit 1
fi