slitaz-boot-scripts diff etc/init.d/system.sh @ rev 267

Small fix for system.sh and be less verbose on logout
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 15:10:21 2011 +0200 (2011-05-17)
parents 7cae07b36655
children bfb8a5936ba1
line diff
     1.1 --- a/etc/init.d/system.sh	Mon May 16 21:13:00 2011 +0100
     1.2 +++ b/etc/init.d/system.sh	Tue May 17 15:10:21 2011 +0200
     1.3 @@ -89,7 +89,8 @@
     1.4  		tazlocale
     1.5  	fi
     1.6  else
     1.7 -	echo -n "Locale configuration: $(cat /etc/locale.conf)" && status
     1.8 +	lang=$(cat /etc/locale.conf | fgrep LANG | cut -d "=" -f 2)
     1.9 +	echo -n "Locale configuration: $lang" && status
    1.10  fi
    1.11  
    1.12  # Keymap config.