1
0

Make sure GRUB uses graphical output

This commit is contained in:
Andrei Shevchuk
2018-06-27 21:45:03 +03:00
parent 0f0e8d5962
commit 7b308f8fd4
+3
View File
@@ -82,6 +82,9 @@ sudo cp -r ${THEME}-master/* /boot/${GRUB_DIR}/themes/${THEME}
echo 'Removing other themes from GRUB config'
sudo sed -i '/^GRUB_THEME=/d' /etc/default/grub
echo 'Making sure GRUB uses graphical output'
sudo sed -i 's/^\(GRUB_TERMINAL\w*=.*\)/#\1/' /etc/default/grub
echo 'Removing empty lines at the end of GRUB config' # optional
sudo sed -i -e :a -e '/^\n*$/{$d;N;};/\n$/ba' /etc/default/grub