From 4a015c67cdad7512e4cb3dcd50a198fc4c8c8dc9 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 31 Oct 2023 13:59:49 +0100 Subject: [PATCH] Removing selection of active kernel in snippets/tpl.070.tweak_grub.sh --- snippets/tpl.070.tweak_grub.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/snippets/tpl.070.tweak_grub.sh b/snippets/tpl.070.tweak_grub.sh index c7d6a0d..ca8b515 100644 --- a/snippets/tpl.070.tweak_grub.sh +++ b/snippets/tpl.070.tweak_grub.sh @@ -13,11 +13,6 @@ tweak_grub() { echo log "Tweaking '${grub_cfg}' ..." - echo "Selecting entry in /etc/grub2.cfg ..." - awk -F\' '$1=="menuentry " {print i++ " : " $2}' /etc/grub2.cfg - grub2-set-default 0 - grub2-editenv list - echo "Removing quiet from '${grub_cfg}' ..." sed --in-place -e 's/^\(GRUB_CMDLINE_LINUX=.*\)[ ]quiet\(.*\)/\1\2/' "${grub_cfg}" -- 2.39.5