8 lines
221 B
Bash

!/bin/bash
## Ensure cramfs kernel module is not available (Automated)
[[ ! -f /etc/modprobe.d/cramfs.conf ]] && ((CptErr++))
[[ -z $(cat /etc/modprobe.d/cramfs.conf|grep '/bin/true') ]] && ((CptErr++))
Check ${CptErr}