slitaz-tools diff tinyutils/tazx @ 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 | 1442140ec3d0 |
children | cd0e27d82b8d |
line diff
1.1 --- a/tinyutils/tazx Wed Nov 10 20:26:12 2010 -0500 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 #