Skip to content

Commit

Permalink
proposed update for better Russian consolefont and utf8 for VFAT_OUT_…
Browse files Browse the repository at this point in the history
…PARAM
  • Loading branch information
rodins committed Jan 2, 2014
1 parent ae14973 commit b9f9a55
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion woof-code/boot/initrd-tree0/init
Expand Up @@ -145,6 +145,8 @@
#130612 support devtmpfs.
#130618 DEVTMPFSFLG now set by 3builddistro. refer also /etc/rc.d/rc.sysinit.
#130728 always try to copy sfs to ram if >=700MB.
#140102 better font for Russian, font is added to /lib/consolefont (in rootfs-skeleton)
#140102 rodin.s: added utf8-option to VFAT_OUT_PARAM for flash drive to be mounted with utf-8 if boot is done from flash drive

#Unionfs layers setup by this script...
#unionfs layers: RW (top) RO1 RO2 PUPMODE
Expand Down Expand Up @@ -634,6 +636,10 @@ if [ "$PLANG" ];then
setfont /lib/consolefonts/LatArCyrHeb-16.psfu.gz -C /dev/tty1
FONTMAP='LatArCyrHeb-16.psfu'
;;
ru*) #vkvkvk for ru
zcat /lib/consolefonts/ter-u16n.psf.gz | loadfont
FONTMAP='ter-u16n.psf'
;;
*) #L18L All European languages; new default ?!
zcat /lib/consolefonts/LatGrkCyr-8x16.psfu.gz | loadfont
FONTMAP='LatGrkCyr-8x16.psfu'
Expand All @@ -643,7 +649,7 @@ fi

#091122 load keyboard layout if PKEYS boot param...
STATUS=0
VFAT_OUT_PARAM='shortname=mixed,quiet'
VFAT_OUT_PARAM='shortname=mixed,quiet,utf8' #140102 rodin.s: added utf8 for flash drive to be mounted with utf-8 if boot is done from flash drive
CODEPAGE=""
KMAP=""
if [ "$PKEYS" ];then
Expand Down

0 comments on commit b9f9a55

Please sign in to comment.