slitaz-boot-scripts diff etc/init.d/bootopts.sh @ rev 432
bootopts.sh: fix tazlocale error for cheatcode lang=*.UTF-8
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 23 14:19:56 2016 +0300 (2016-05-23) |
parents | 23d89ddc30ad |
children | b09c326b9374 |
line diff
1.1 --- a/etc/init.d/bootopts.sh Wed Feb 24 22:57:18 2016 +0200 1.2 +++ b/etc/init.d/bootopts.sh Mon May 23 14:19:56 2016 +0300 1.3 @@ -74,7 +74,7 @@ 1.4 lang=*) 1.5 # Check for a specified locale (lang=*). 1.6 LANG=${opt#lang=} 1.7 - /sbin/tazlocale $LANG ;; 1.8 + /sbin/tazlocale ${LANG%.UTF-8} ;; 1.9 kmap=*) 1.10 # Check for a specified keymap (kmap=*). 1.11 KEYMAP=${opt#kmap=}