2021-11-08 20:48:58
This commit is contained in:
4
test.sh
4
test.sh
@@ -96,9 +96,9 @@ main ()
|
||||
|
||||
if ssh_exec ${port} ${login} ${pass} lsblk | grep -q -i -E "_crypt"
|
||||
then
|
||||
echo "OK: Disk crypted"
|
||||
echo "OK: Disk is encrypted"
|
||||
else
|
||||
echo "KO: Not disk crypted"
|
||||
echo "KO: Disk is not encrypted"
|
||||
fi
|
||||
|
||||
if ssh_exec ${port} ${login} ${pass} lsblk | grep -c "lvm" | grep -q -E '^[2-9]'
|
||||
|
||||
Reference in New Issue
Block a user