]> git.ipfire.org Git - ipfire-2.x.git/blame - src/boot.d/12-setconsole
HinzugefĆ¼gt:
[ipfire-2.x.git] / src / boot.d / 12-setconsole
CommitLineData
f8ae001e
MT
1#!/bin/sh
2echo "Setting locale"
3LANG=en_US.utf8
4export LANG
5
6echo "Setting consolefonts"
7eval $(/usr/local/bin/readhash /var/ipfire/main/settings)
8for i in 2 3 4 5 6; do
9 > /dev/tty$i
10done
11if [ "$LANGUAGE" = "el" ]; then
12 /usr/bin/unicode_start iso07u-16
13elif [ "$LANGUAGE" = "pt" -o "$LANGUAGE" = "bz" ]; then
14 /usr/bin/unicode_start lat1-16
15elif [ "$LANGUAGE" = "cs" -o "$LANGUAGE" = "hu" -o "$LANGUAGE" = "pl" -o "$LANGUAGE" = "sk" ]; then
16 /usr/bin/unicode_start lat2-16
17elif [ "$LANGUAGE" = "tr" ]; then
18 /usr/bin/unicode_start lat5-16
19elif [ "$LANGUAGE" = "vi" ]; then
20 /usr/bin/unicode_start viscii10-8x16
21else
22 /usr/bin/unicode_start lat0-16
23fi
24
25
26#/sbin/splash -n -s -u 0 /boot/splash/config/bootsplash-1024x768.cfg
27/sbin/splash -n -s -u 1 /boot/splash/config/bootsplash-1024x768.cfg
28/sbin/splash -n -s -u 2 /boot/splash/config/bootsplash-1024x768.cfg
29/sbin/splash -n -s -u 3 /boot/splash/config/bootsplash-1024x768.cfg
30/sbin/splash -n -s -u 4 /boot/splash/config/bootsplash-1024x768.cfg
31/sbin/splash -n -s -u 5 /boot/splash/config/bootsplash-1024x768.cfg
32/sbin/splash -n -s -u 11 /boot/splash/config/bootsplash-1024x768.cfg