8 lines
222 B
Bash
8 lines
222 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}
|