slitaz-boot-scripts diff etc/init.d/bootopts.sh @ rev 300
Use new tazlocale and tazkeymap functions
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 02 00:04:50 2012 +0200 (2012-05-02) |
parents | 8cc80e0d7d4e |
children | 175315b7699d |
line diff
1.1 --- a/etc/init.d/bootopts.sh Tue Apr 17 15:56:40 2012 +0200 1.2 +++ b/etc/init.d/bootopts.sh Wed May 02 00:04:50 2012 +0200 1.3 @@ -68,9 +68,7 @@ 1.4 lang=*) 1.5 # Check for a specified locale (lang=*). 1.6 LANG=${opt#lang=} 1.7 - echo -n "Setting system locale to: $LANG... " 1.8 - tazlocale init $LANG 1.9 - status ;; 1.10 + /sbin/tazlocale $LANG ;; 1.11 kmap=*) 1.12 # Check for a specified keymap (kmap=*). 1.13 KEYMAP=${opt#kmap=} 1.14 @@ -105,7 +103,7 @@ 1.15 || mount /dev/$DEVID /home 1.16 case "$(/sbin/blkid | grep /dev/$DEVID:)" in 1.17 *\"ntfs\"*|*\"vfat\"*) mount.posixovl /home ;; 1.18 - esac 1.19 + esac 1.20 # Check if swap file must be generated in /home: swap=size (Mb). 1.21 # This option is only used within home=device. 1.22 if grep -q "swap=[1-9]*" /proc/cmdline; then