Analyzing grub

This commit is contained in:
gbucchino
2023-09-12 16:49:18 +02:00
parent 03143c4c0d
commit 9843ca26b9
8 changed files with 145 additions and 11 deletions
+5 -8
View File
@@ -1,11 +1,8 @@
#!/usr/bin/env python3
def grub() -> list:
grub = list()
grub.append({
'description': 'Boot permission',
'filename': '/boot/grub/grub.cfg'
'chmod': 600,
})
def grub() -> dict:
grub = dict()
grub['description'] = 'Change boot permission'
grub['filename'] = '/boot/grub/grub.cfg'
grub['value'] = 0o600
return grub