Analyzing grub
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user