12345
  1. #!/bin/bash
  2. if [ $(find /etc/cron.d*/ -name logrotate | wc -l) -eq 0 ];then
  3. exit 1
  4. fi