slitaz-boot-scripts rev 99 2.4

Default LiveCD user name: tux
author Christophe Lincoln <pankso@slitaz.org>
date Tue Jun 17 15:47:14 2008 +0200 (2008-06-17)
parents 80022089ebe5
children 0fc7841802bd
files etc/init.d/bootopts.sh
line diff
     1.1 --- a/etc/init.d/bootopts.sh	Sat Jun 14 16:07:26 2008 +0000
     1.2 +++ b/etc/init.d/bootopts.sh	Tue Jun 17 15:47:14 2008 +0200
     1.3 @@ -79,10 +79,10 @@
     1.4  		USER=`cat /proc/cmdline | sed 's/.*user=\([^ ]*\).*/\1/'`
     1.5  		# Avoid usage of an existing system user or root.
     1.6  		if grep -q ^$USER /etc/passwd; then
     1.7 -			USER=linux
     1.8 +			USER=tux
     1.9  		fi
    1.10  	else
    1.11 -		USER=linux
    1.12 +		USER=tux
    1.13  	fi
    1.14  	echo -n "Configuring user and group: $USER..."
    1.15  	echo "$USER:x:1000:1000:SliTaz User,,,:/home/$USER:/bin/sh" >> /etc/passwd