slish rev 5

Tiny edits
author Paul Issott <paul@slitaz.org>
date Wed Jan 22 21:21:29 2014 +0000 (2014-01-22)
parents b2a0d6170736
children e9a2fa5a68d9
files README slish
line diff
     1.1 --- a/README	Wed Jan 22 18:36:52 2014 +0100
     1.2 +++ b/README	Wed Jan 22 21:21:29 2014 +0000
     1.3 @@ -2,7 +2,7 @@
     1.4  ================================================================================
     1.5  
     1.6  
     1.7 -	* Powerfull SliTaz SHell in a few minutes
     1.8 +	* Powerful SliTaz SHell in a few minutes
     1.9  	* Simple online registration via CGI script
    1.10  	* Easy to create and maintain users chroot
    1.11  	* Host cmdline tool to handle users and chroot
    1.12 @@ -12,10 +12,10 @@
    1.13  ----------
    1.14  Start by getting the latest code via SliTaz Hg repos:
    1.15  
    1.16 -# hg clone http://hg.slitaz.orh/slish
    1.17 +# hg clone http://hg.slitaz.org/slish
    1.18  # cd slish && make install
    1.19  
    1.20 -Setup dierctories, a chroot and configure the system to chroot all 
    1.21 +Setup directories, a chroot and configure the system to chroot all 
    1.22  SliSH users.
    1.23  
    1.24  # slish setup
     2.1 --- a/slish	Wed Jan 22 18:36:52 2014 +0100
     2.2 +++ b/slish	Wed Jan 22 21:21:29 2014 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  #!/bin/sh
     2.5  #
     2.6 -# SliSH - The SliTaz SHell on demand. No gettext this is a pure adim
     2.7 -# mainly developpee for slish.in but who can be used by other projects.
     2.8 +# SliSH - The SliTaz SHell on demand. No gettext this is a pure admin
     2.9 +# mainly developed for slish.in but which can be used by other projects.
    2.10  #
    2.11  # Copyright (C) 2014 SliTaz GNU/Linux - BSD License
    2.12  # Author: Christophe Lincoln <pankso@slitaz.org>
    2.13 @@ -33,7 +33,7 @@
    2.14  
    2.15  $(boldify "Commands:")
    2.16    info          Display paths, configs and some stats
    2.17 -  setup         Setup SliSH server and users chroot
    2.18 +  setup         Setup SliSH server and user chroot
    2.19    gen-chroot    Generate a new default or user chroot
    2.20    clean-chroot  Clean the chroot but skip home and root
    2.21    adduser       Add a user to the server with \$HOME in chroot
    2.22 @@ -63,7 +63,7 @@
    2.23  		echo "Setting up the $(basename $dir) directory..."
    2.24  		mkdir -p ${dir} && chown www.www ${dir}
    2.25  	done
    2.26 -	# Activity log must be writtable by users
    2.27 +	# Activity log must be writable by users
    2.28  	touch ${activity} && chmod 0666 ${activity}
    2.29  	echo "All done!"
    2.30  }
    2.31 @@ -188,7 +188,7 @@
    2.32  gen_chroot() {
    2.33  	[ "$clean" ] && clean_chroot
    2.34  	if [ -d "$root/bin" ]; then
    2.35 -		echo "A chroot already exist: Use -cc command or --clean option"
    2.36 +		echo "A chroot already exists: Use -cc command or --clean option"
    2.37  		exit 1
    2.38  	fi
    2.39  	[ "$clean" ] || newline
    2.40 @@ -267,7 +267,7 @@
    2.41  			rm -rf ${queue}/${user}
    2.42  		done ;;
    2.43  	*)
    2.44 -		# /usr/bin/slish is be exectue on login to chroot the user
    2.45 +		# /usr/bin/slish is be executed on login to chroot the user
    2.46  		if [ -d "$root/home/$USER" ]; then
    2.47  			. ${people}/"$USER"/account.conf
    2.48  			log "Chrooting user: $USER"