diff --git a/install.sh b/install.sh index 8559ddf..84dd865 100755 --- a/install.sh +++ b/install.sh @@ -123,6 +123,16 @@ function config_grub() { echo_info "echo \"GRUB_THEME=\"${THEME_DIR}/${THEME_NAME}/theme.txt\"\" >> /etc/default/grub" echo "GRUB_THEME=\"${THEME_DIR}/${THEME_NAME}/theme.txt\"" >> /etc/default/grub + + #-------------------------------------------------- + + echo_primary 'Setting grub graphics mode to auto' + # remove default timeout if any + echo_info "sed -i '/GRUB_GFXMODE=/d' /etc/default/grub" + sed -i '/GRUB_GFXMODE=/d' /etc/default/grub + + echo_info "echo 'GRUB_GFXMODE=\"auto\"' >> /etc/default/grub" + echo 'GRUB_GFXMODE="auto"' >> /etc/default/grub } function update_grub() {