slish diff slish @ rev 5
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Wed Jan 22 21:21:29 2014 +0000 (2014-01-22) |
parents | e2f77a3185ab |
children | e9a2fa5a68d9 |
line diff
1.1 --- a/slish Wed Jan 22 18:35:00 2014 +0100 1.2 +++ b/slish Wed Jan 22 21:21:29 2014 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 #!/bin/sh 1.5 # 1.6 -# SliSH - The SliTaz SHell on demand. No gettext this is a pure adim 1.7 -# mainly developpee for slish.in but who can be used by other projects. 1.8 +# SliSH - The SliTaz SHell on demand. No gettext this is a pure admin 1.9 +# mainly developed for slish.in but which can be used by other projects. 1.10 # 1.11 # Copyright (C) 2014 SliTaz GNU/Linux - BSD License 1.12 # Author: Christophe Lincoln <pankso@slitaz.org> 1.13 @@ -33,7 +33,7 @@ 1.14 1.15 $(boldify "Commands:") 1.16 info Display paths, configs and some stats 1.17 - setup Setup SliSH server and users chroot 1.18 + setup Setup SliSH server and user chroot 1.19 gen-chroot Generate a new default or user chroot 1.20 clean-chroot Clean the chroot but skip home and root 1.21 adduser Add a user to the server with \$HOME in chroot 1.22 @@ -63,7 +63,7 @@ 1.23 echo "Setting up the $(basename $dir) directory..." 1.24 mkdir -p ${dir} && chown www.www ${dir} 1.25 done 1.26 - # Activity log must be writtable by users 1.27 + # Activity log must be writable by users 1.28 touch ${activity} && chmod 0666 ${activity} 1.29 echo "All done!" 1.30 } 1.31 @@ -188,7 +188,7 @@ 1.32 gen_chroot() { 1.33 [ "$clean" ] && clean_chroot 1.34 if [ -d "$root/bin" ]; then 1.35 - echo "A chroot already exist: Use -cc command or --clean option" 1.36 + echo "A chroot already exists: Use -cc command or --clean option" 1.37 exit 1 1.38 fi 1.39 [ "$clean" ] || newline 1.40 @@ -267,7 +267,7 @@ 1.41 rm -rf ${queue}/${user} 1.42 done ;; 1.43 *) 1.44 - # /usr/bin/slish is be exectue on login to chroot the user 1.45 + # /usr/bin/slish is be executed on login to chroot the user 1.46 if [ -d "$root/home/$USER" ]; then 1.47 . ${people}/"$USER"/account.conf 1.48 log "Chrooting user: $USER"