ssfs rev 23

README: small addition and fix to ssfs-server
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 12 04:40:40 2011 +0200 (2011-06-12)
parents ae8d2eea9eea
children 54d6ef26b690
files README ssfs-server
line diff
     1.1 --- a/README	Sun Jun 12 01:37:18 2011 +0200
     1.2 +++ b/README	Sun Jun 12 04:40:40 2011 +0200
     1.3 @@ -49,6 +49,8 @@
     1.4        $ ssfs setup --login=demo --host="server name or ip"
     1.5      * On client you can start ssfs on user login via the WM
     1.6        autostart script and or the command $ ssfs sync
     1.7 +    * Get support and show your love for Ssfs on SCN group:
     1.8 +      http://scn.slitaz.org/groups/ssfs/
     1.9  
    1.10  
    1.11  Installation
    1.12 @@ -118,7 +120,9 @@
    1.13  # ssfs-server adduser --login=tux-sync --id=2000 --pass=tuX0cc
    1.14  
    1.15  Users can be listed or completely deleted including all files in home. More
    1.16 -information can be found with: ssfs-server usage
    1.17 +information can be found with the built in help:
    1.18 +
    1.19 +# ssfs-server help
    1.20  
    1.21  
    1.22  Ssfs virtual disk
    1.23 @@ -173,6 +177,9 @@
    1.24  
    1.25  http://www.slitaz.org/
    1.26  
    1.27 +To share ideas and get involved into Ssfs project you can join the Ssfs group
    1.28 +on the SliTaz Community Network website : http://scn.slitaz.org/groups/ssfs/
    1.29 +
    1.30  
    1.31  ===============================================================================
    1.32  
     2.1 --- a/ssfs-server	Sun Jun 12 01:37:18 2011 +0200
     2.2 +++ b/ssfs-server	Sun Jun 12 04:40:40 2011 +0200
     2.3 @@ -7,6 +7,7 @@
     2.4  #
     2.5  
     2.6  app=$(basename $0)
     2.7 +cache=/var/cache/ssfs
     2.8  [ -f "/etc/ssfs/$app.conf" ] && . /etc/ssfs/$app.conf
     2.9  [ -f "./data/$app.conf" ] && . ./data/$app.conf
    2.10  
    2.11 @@ -207,7 +208,7 @@
    2.12  		if [ ! -f "$vdisk" ]; then
    2.13  			gettext "Creating virtual disk:"; echo " $vdisk ${size}Gb"
    2.14  			dd if=/dev/zero of=$vdisk bs=1G count=$size
    2.15 -			du -sh $vdisk
    2.16 +			chmod 0600 $vdisk && du -sh $vdisk
    2.17  			gettext "Creating ext3 filesystem..."
    2.18  			mkfs.ext3 -q -T ext3 -L "Ssfs" -F $vdisk
    2.19  			status