mirror of
https://github.com/RROrg/rr.git
synced 2025-09-10 05:47:21 +08:00
调整终端输出设置,确保在加载字体后正确输出到 gfxterm
This commit is contained in:
parent
34fb3e1968
commit
cdd30e0e5e
@ -49,8 +49,6 @@ else
|
|||||||
font=${prefix}/fonts/unicode.pf2
|
font=${prefix}/fonts/unicode.pf2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
terminal_output console
|
|
||||||
|
|
||||||
if loadfont ${font}; then
|
if loadfont ${font}; then
|
||||||
set gfxmode=auto
|
set gfxmode=auto
|
||||||
load_video
|
load_video
|
||||||
@ -58,9 +56,10 @@ if loadfont ${font}; then
|
|||||||
set locale_dir=$prefix/locale
|
set locale_dir=$prefix/locale
|
||||||
set lang=en_US
|
set lang=en_US
|
||||||
insmod gettext
|
insmod gettext
|
||||||
terminal_output --append gfxterm
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
terminal_output gfxterm
|
||||||
|
|
||||||
if serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1; then
|
if serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1; then
|
||||||
terminal_input --append serial
|
terminal_input --append serial
|
||||||
terminal_output --append serial
|
terminal_output --append serial
|
||||||
|
Loading…
x
Reference in New Issue
Block a user