Merge pull request #2 from maej20/maej20-patch-2
Add set graphics mode to auto
This commit is contained in:
commit
717dd0016b
1 changed files with 10 additions and 0 deletions
10
install.sh
10
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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue