slitaz-tools rev 534

tazx: In live def user have id 1000
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jan 04 00:44:00 2011 +0100 (2011-01-04)
parents 9ccc4f26da15
children cd0e27d82b8d
files tinyutils/tazx
line diff
     1.1 --- a/tinyutils/tazx	Sun Dec 26 16:44:14 2010 +0000
     1.2 +++ b/tinyutils/tazx	Tue Jan 04 00:44:00 2011 +0100
     1.3 @@ -16,8 +16,9 @@
     1.4  MOUSE=mouse,5,/dev/input/mice
     1.5  WM=openbox
     1.6  
     1.7 -# Default user for config files in Live mode.
     1.8 -USER=`cat /etc/passwd | grep "/home" | cut -d ":" -f 1`
     1.9 +# Default user for config files in Live mode, id is 1000 since it is
    1.10 +# created by /etc/init.d/bootopts.sh.
    1.11 +USER=`cat /etc/passwd | grep 1000 | cut -d ":" -f 1`
    1.12  
    1.13  ####################
    1.14  #  Tazx functions  #