slish rev 13 tip

Tiny edits
author Paul Issott <paul@slitaz.org>
date Sat Feb 01 17:29:57 2014 +0000 (2014-02-01)
parents 7e9fc9556afe
children
files slish
line diff
     1.1 --- a/slish	Tue Jan 28 21:38:25 2014 +0100
     1.2 +++ b/slish	Sat Feb 01 17:29:57 2014 +0000
     1.3 @@ -70,7 +70,7 @@
     1.4  	done
     1.5  	# Activity log must be writable by users
     1.6  	touch ${activity} && chmod 0666 ${activity}
     1.7 -	# Add /usr/bin/slish to /etc/shells (dropbear need it)
     1.8 +	# Add /usr/bin/slish to /etc/shells (dropbear needs it)
     1.9  	if ! fgrep -q '/usr/bin/slish' /etc/shells; then
    1.10  		echo "Adding /bin/slish to the list of valid shells..."
    1.11  		echo '/usr/bin/slish' >> /etc/shells
    1.12 @@ -151,7 +151,7 @@
    1.13  		newline && exit 0
    1.14  	fi
    1.15  	
    1.16 -	# Exit if user already exist
    1.17 +	# Exit if user already exists
    1.18  	if grep -q ^${user}: /etc/passwd; then
    1.19  		newline
    1.20  		echo -n "User already exists: "; colorize 31 "$user"