slitaz-boot-scripts diff etc/init.d/system.sh @ rev 306
Use tee to log boot and hide loadkey output
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 02 01:43:00 2012 +0200 (2012-06-02) |
parents | 175315b7699d |
children | 3dd56819a891 |
line diff
1.1 --- a/etc/init.d/system.sh Fri Jun 01 21:46:07 2012 +0200 1.2 +++ b/etc/init.d/system.sh Sat Jun 02 01:43:00 2012 +0200 1.3 @@ -70,26 +70,27 @@ 1.4 echo "Unable to configure sound card." 1.5 fi 1.6 1.7 -# Locale config. 1.8 -echo "Checking if /etc/locale.conf exists... " 1.9 +# Locale config 1.10 if [ ! -s "/etc/locale.conf" ]; then 1.11 echo "Setting system locale to: POSIX (English)" 1.12 echo -e "LANG=POSIX\nLC_ALL=POSIX" > /etc/locale.conf 1.13 fi 1.14 . /etc/locale.conf 1.15 -echo -n "Locale configuration: $LANG" 1.16 -export LC_ALL 1.17 +echo -n "Setting system locale: $LANG" 1.18 +export LC_ALL=$LANG 1.19 . /lib/libtaz.sh && status 1.20 1.21 -# Keymap config. Default to us in live mode if kmap= was not used. 1.22 +# Keymap config: Default to us in live mode if kmap= was not used. 1.23 if [ ! -s "/etc/keymap.conf" ]; then 1.24 + echo "Setting system keymap to: us (USA)" 1.25 echo "us" > /etc/keymap.conf 1.26 fi 1.27 kmap=$(cat /etc/keymap.conf) 1.28 -echo "Keymap configuration: $kmap" 1.29 -/sbin/tazkeymap $kmap 1.30 +echo -n "Loading console keymap: $kmap" 1.31 +/sbin/tazkeymap $kmap >/dev/null 1.32 +status 1.33 1.34 -# Timezone config. Set timezone using the keymap config for fr, be, fr_CH 1.35 +# Timezone config: Set timezone using the keymap config for fr, be, fr_CH 1.36 # and ca with Montreal. 1.37 if [ ! -s "/etc/TZ" ]; then 1.38 case "$kmap" in