summaryrefslogtreecommitdiff
path: root/source/installer/sources/initrd/etc/rc.d/rc.font
diff options
context:
space:
mode:
Diffstat (limited to 'source/installer/sources/initrd/etc/rc.d/rc.font')
-rwxr-xr-xsource/installer/sources/initrd/etc/rc.d/rc.font25
1 files changed, 14 insertions, 11 deletions
diff --git a/source/installer/sources/initrd/etc/rc.d/rc.font b/source/installer/sources/initrd/etc/rc.d/rc.font
index 69e69baa..7d4d75ba 100755
--- a/source/installer/sources/initrd/etc/rc.d/rc.font
+++ b/source/installer/sources/initrd/etc/rc.d/rc.font
@@ -27,19 +27,22 @@ create_tty() {
}
if ! grep -wq nofont /proc/cmdline ; then
- if [ ! "$(cat /proc/fb)" = "" ] ; then
- if [ -r /usr/share/kbd/consolefonts/ter-120b.psf.gz ]; then
+# Commented out this next section because it leads to too big a font on a UEFI
+# framebuffer. It's possible that it would be a correct font for other fb
+# console types, but it's just safer to go with the smaller choice.
+# if [ ! "$(cat /proc/fb)" = "" ] ; then
+# if [ -r /usr/share/kbd/consolefonts/ter-120b.psf.gz ]; then
+# create_tty
+# for tty in /dev/tty{1,2,3,4} ; do
+# setfont -C $tty /usr/share/kbd/consolefonts/ter-120b.psf.gz
+# done
+# fi
+# else
+ if [ -r /usr/share/kbd/consolefonts/ter-v14v.psf.gz ]; then
create_tty
for tty in /dev/tty{1,2,3,4} ; do
- setfont -C $tty /usr/share/kbd/consolefonts/ter-120b.psf.gz
+ setfont -C $tty /usr/share/kbd/consolefonts/ter-v14v.psf.gz
done
fi
- else
- if [ -r /usr/share/kbd/consolefonts/ter-c14v.psf.gz ]; then
- create_tty
- for tty in /dev/tty{1,2,3,4} ; do
- setfont -C $tty /usr/share/kbd/consolefonts/ter-c14v.psf.gz
- done
- fi
- fi
+# fi
fi