update function
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
## 0.0.0.0.0 test
|
||||
|
||||
Apply 0 1 "Test true" [[ -f /etc/passwd ]]
|
||||
Apply 0 2 "Test false" [[ -f /etc/nofile ]]
|
||||
Apply 0 3 "Test" [[ -d /etc ]]
|
||||
|
||||
|
||||
@@ -2,4 +2,6 @@
|
||||
|
||||
## 1.1.1.1 Ensure cramfs kernel module is not available (Automated)
|
||||
|
||||
echo '/bin/true' > /etc/modprobe.d/cramfs.conf
|
||||
Apply 1 1 "cramfs" echo '/bin/true' > /etc/modprobe.d/cramfs.conf
|
||||
Apply 0 2 "cramfs" echo "tout va bien"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user