From 7c3be8d4a79341fc90e00a09b6d8aaf1d628e001 Mon Sep 17 00:00:00 2001 From: julien Date: Mon, 6 Oct 2025 18:10:19 +0200 Subject: [PATCH] added grub config --- modules/config.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/modules/config.sh b/modules/config.sh index 2695a82..326dcda 100755 --- a/modules/config.sh +++ b/modules/config.sh @@ -15,7 +15,11 @@ if [ -f $config_file ]; then fi fi -# Server configuration +# Grub configuration +sed -i "s/GRUB_CMDLINE_LINUX_DEFAULT=\"quiet/& loglevel=3 nowatchdog/" /etc/default/grub +update-grub + +# Server only configuration if [ $profile = server ]; then # Firewall basic configuration ufw default deny incoming @@ -35,7 +39,7 @@ if [ $profile = server ]; then done fi -# Desktop configuration +# Desktop only configuration if [ $profile = desktop ]; then # Firewall configuration ufw default deny incoming