update function

This commit is contained in:
2025-02-04 19:33:27 +01:00
parent 5fc6a2cc3b
commit 3e3031ee27
5 changed files with 38 additions and 4 deletions
+9
View File
@@ -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 ]]
+3 -1
View File
@@ -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"