slitaz-boot-scripts 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 2a9569d6dbc7
children d1c11db6adfe
files etc/init.d/bootopts.sh
line diff
     1.1 --- a/etc/init.d/bootopts.sh	Mon May 23 13:45:07 2016 +0300
     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=}