merge gfxmenu into gfxmenu+multiterm
This commit is contained in:
commit
841353a2f9
2 changed files with 10 additions and 0 deletions
|
@ -220,6 +220,7 @@ export GRUB_DEFAULT \
|
||||||
GRUB_DISABLE_LINUX_UUID \
|
GRUB_DISABLE_LINUX_UUID \
|
||||||
GRUB_DISABLE_LINUX_RECOVERY \
|
GRUB_DISABLE_LINUX_RECOVERY \
|
||||||
GRUB_GFXMODE \
|
GRUB_GFXMODE \
|
||||||
|
GRUB_THEME \
|
||||||
GRUB_DISABLE_OS_PROBER
|
GRUB_DISABLE_OS_PROBER
|
||||||
|
|
||||||
if test "x${grub_cfg}" != "x"; then
|
if test "x${grub_cfg}" != "x"; then
|
||||||
|
|
|
@ -93,6 +93,15 @@ if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
|
||||||
# understand terminal_output
|
# understand terminal_output
|
||||||
terminal gfxterm
|
terminal gfxterm
|
||||||
fi
|
fi
|
||||||
|
EOF
|
||||||
|
if [ x$GRUB_THEME != x ] && [ -f $GRUB_THEME ] \
|
||||||
|
&& is_path_readable_by_grub $GRUB_THEME; then
|
||||||
|
echo "Found theme: $GRUB_THEME" >&2
|
||||||
|
prepare_grub_to_access_device `${grub_probe} --target=device $GRUB_THEME`
|
||||||
|
echo "insmod gfxmenu"
|
||||||
|
echo "set theme=(\$root)/`make_system_path_relative_to_its_root $GRUB_THEME`"
|
||||||
|
fi
|
||||||
|
cat << EOF
|
||||||
fi
|
fi
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue