mirror of
https://github.com/ovh/debian-cis.git
synced 2024-11-22 13:37:02 +01:00
parent
896d277d95
commit
460843ffb3
@ -78,7 +78,7 @@ apply() {
|
|||||||
IFS=$d_IFS
|
IFS=$d_IFS
|
||||||
|
|
||||||
if [ $ERROR = 1 ]; then
|
if [ $ERROR = 1 ]; then
|
||||||
$SUDO_CMD sed -i "s/GRUB_CMDLINE_LINUX=\"/GRUB_CMDLINE_LINUX=\"apparmor=1 security=apparmor/" /etc/default/grub
|
$SUDO_CMD sed -i "s/GRUB_CMDLINE_LINUX=\"/GRUB_CMDLINE_LINUX=\"apparmor=1 security=apparmor /" /etc/default/grub
|
||||||
$SUDO_CMD update-grub
|
$SUDO_CMD update-grub
|
||||||
else
|
else
|
||||||
ok "$PACKAGES are configured"
|
ok "$PACKAGES are configured"
|
||||||
|
Loading…
Reference in New Issue
Block a user