ssfs rev 12
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jun 11 19:15:28 2011 +0100 (2011-06-11) |
parents | 4384bbec9d9a |
children | 751ef97a4ffa |
files | ssfs-box ssfs-server |
line diff
1.1 --- a/ssfs-box Sat Jun 11 18:59:59 2011 +0100 1.2 +++ b/ssfs-box Sat Jun 11 19:15:28 2011 +0100 1.3 @@ -29,7 +29,7 @@ 1.4 if [ ! -s "$config" ]; then 1.5 $0 setup && exit 0 1.6 fi 1.7 - text=$(gettext "<b>Welcome to Ssfs GTK user interface</b>") 1.8 + text=$(gettext "<b>Welcome to the Ssfs GTK user interface</b>") 1.9 info | yad \ 1.10 --list --title="Ssfs GTK tools" \ 1.11 --width=460 --height=280 --image-on-top \ 1.12 @@ -64,7 +64,7 @@ 1.13 # Setup GUI box function. 1.14 setup_main() { 1.15 text=$(gettext \ 1.16 -"<b>Welcome to Ssfs Setup</b>\n 1.17 +"<b>Welcome to the Ssfs Setup</b>\n 1.18 Any account on a server yet ? You can vist www.slitaz.org 1.19 services or setup your own server in a few minutes!\n") 1.20 yad --form --title="Ssfs GTK Setup" \
2.1 --- a/ssfs-server Sat Jun 11 18:59:59 2011 +0100 2.2 +++ b/ssfs-server Sat Jun 11 19:15:28 2011 +0100 2.3 @@ -45,7 +45,7 @@ 2.4 2.5 $(echo -e "\033[1m$(gettext "Commands:")\033[0m") 2.6 help $(gettext "Display this short usage.") 2.7 - users $(gettext "List users account and stats.") 2.8 + users $(gettext "List user accounts and stats.") 2.9 adduser $(gettext "Add a user to the system with \$HOME in chroot.") 2.10 deluser $(gettext "Delete a user and remove \$HOME files.") 2.11 chroot $(gettext "Chroot to Ssfs storage root.") 2.12 @@ -121,7 +121,7 @@ 2.13 2.14 gettext -e "\nChecking:"; echo " /etc/passwd" 2.15 if grep ^$login: /etc/passwd; then 2.16 - gettext -e "Exiting user already exist:" 2.17 + gettext -e "Exiting, user already exists:" 2.18 echo -e " $login\n" && exit 0 2.19 fi 2.20 gettext "Creating user: $login..." 2.21 @@ -129,14 +129,14 @@ 2.22 adduser -h "$home" -g "Ssfs User" -u $id $login >/dev/null 2.23 status 2.24 2.25 - # We dont want any files from /etc/skel. 2.26 + # We don't want any files from /etc/skel. 2.27 gettext "Cleaning home and creating: Sync/..." 2.28 rm -rf $home && mkdir -p $home/Sync && status 2.29 gettext "Changing mode on user home: 0700..." 2.30 chown -R $login.$login $home 2.31 chmod 0700 $home && status 2.32 2.33 - # Create a custom config peer user in SSFS_USERS. 2.34 + # Create a custom config per user in SSFS_USERS. 2.35 [ ! -d "$SSFS_USERS" ] && mkdir -p $SSFS_USERS 2.36 user_config ;; 2.37 deluser) 2.38 @@ -155,9 +155,9 @@ 2.39 gettext -e "\nBack to the host system:" 2.40 echo -e " $(hostname)\n" ;; 2.41 gen-chroot) 2.42 - # Generated a minimal chroot for Ssfs users home. 2.43 + # Generate a minimal chroot for Ssfs users home. 2.44 if [ -d "$root/bin" ]; then 2.45 - gettext -e "A chroot already exist in:"; echo " $root" 2.46 + gettext -e "A chroot already exists in:"; echo " $root" 2.47 exit 0 2.48 fi 2.49 gettext -e "\nCreating chroot in:"; echo " $root"