summaryrefslogtreecommitdiff
path: root/config/chroot_local-hooks/03-distro
diff options
context:
space:
mode:
authorHolger Paradies <retabell@gmx.de>2024-04-08 20:44:08 +0200
committerHolger Paradies <retabell@gmx.de>2024-04-09 21:10:33 +0200
commit9147def20396d791e2d9ce1ee8ccd1ee17f2822c (patch)
tree3e68b29ac5cf8c4df067394a80d4b2c9875c595a /config/chroot_local-hooks/03-distro
parentea0098585dda247c4c29539907b70990bffe9d19 (diff)
downloadkanotix-9147def20396d791e2d9ce1ee8ccd1ee17f2822c.zip
kanotix-9147def20396d791e2d9ce1ee8ccd1ee17f2822c.tar.gz
Enable os-prober
Since bookworm os-prober is disabled by debian.
Diffstat (limited to 'config/chroot_local-hooks/03-distro')
-rwxr-xr-xconfig/chroot_local-hooks/03-distro2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/chroot_local-hooks/03-distro b/config/chroot_local-hooks/03-distro
index 6fb7118..a26ee4f 100755
--- a/config/chroot_local-hooks/03-distro
+++ b/config/chroot_local-hooks/03-distro
@@ -13,6 +13,8 @@ perl -pi -e 's/^(GRUB_DISTRIBUTOR)=.*/\1=`[ "\$\(uname -m\)" = "x86_64" ] && ech
perl -pi -e 's/.*(GRUB_DISABLE_LINUX_RECOVERY)=.*/\1="true"/' /etc/default/grub
perl -pi -e 's/.*(GRUB_DISABLE_RECOVERY)=.*/\1="true"/' /etc/default/grub
perl -pi -e 's/^(GRUB_CMDLINE_LINUX_DEFAULT)=.*/\1="quiet splash"/' /etc/default/grub
+perl -pi -e 's/#GRUB_DISABLE_OS_PROBER=false/GRUB_DISABLE_OS_PROBER=false/g' /etc/default/grub
+
rm -f /etc/skel/Desktop/kanotix-irc.desktop.tmp
if [ -f /etc/skel/Desktop/kanotix-irc.desktop ]; then