diff options
author | Joerg Schirottke <master@kanotix.com> | 2013-03-05 22:50:41 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-05-03 16:52:39 +0200 |
commit | 59db778bc74d1b920a03a61db6b4897b6a95ce2d (patch) | |
tree | c81a315930215596fad6b094c101eb897a1be9c8 | |
parent | 137ad9c2523853e4ecf153580bc6f6ee21c9a992 (diff) | |
download | acritoxinstaller-59db778bc74d1b920a03a61db6b4897b6a95ce2d.zip acritoxinstaller-59db778bc74d1b920a03a61db6b4897b6a95ce2d.tar.gz |
gfx=auto hack
-rw-r--r-- | backend/modules/bootloader | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/modules/bootloader b/backend/modules/bootloader index d0e39a2..afb5091 100644 --- a/backend/modules/bootloader +++ b/backend/modules/bootloader @@ -97,6 +97,9 @@ function install_grub() write_kernel_img_conf + # gfx=auto hack + grep -q gfx=auto /proc/cmdline && chroot_it sed -i 's/\(^GRUB_CMDLINE_LINUX_DEFAULT=\).*/\1"quiet rw gfx=auto"/;s/\(^GRUB_CMDLINE_LINUX=\).*/\1""/' /etc/default/grub + # update grub chroot_it update-grub &>/dev/null DEBIAN_FRONTEND=noninteractive chroot_it dpkg-reconfigure grub-pc &>/dev/null |