ssfs rev 10
We can detect a Public in Sync if user wants public files
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Jun 11 18:08:22 2011 +0200 (2011-06-11) |
parents | d28d7763bb2e |
children | 4384bbec9d9a |
files | README ssfs-box ssfs-server |
line diff
1.1 --- a/README Sat Jun 11 08:55:47 2011 +0200 1.2 +++ b/README Sat Jun 11 18:08:22 2011 +0200 1.3 @@ -79,8 +79,7 @@ 1.4 ------------------- 1.5 When adding a user with 'ssfs-server adduser', the user is added to the host 1.6 /etc/passwd and a custom user config file is created in SSFS_USERS with the 1.7 -login name. Actually the config file have unused variables but here in futur 1.8 -prevision: PUBLIC="HTTP Public directory" 1.9 +login name. 1.10 1.11 1.12 Development and Bugs
2.1 --- a/ssfs-box Sat Jun 11 08:55:47 2011 +0200 2.2 +++ b/ssfs-box Sat Jun 11 18:08:22 2011 +0200 2.3 @@ -27,7 +27,7 @@ 2.4 # Default tools GUI box function. 2.5 tools_main() { 2.6 if [ ! -s "$config" ]; then 2.7 - $0 setup 2.8 + $0 setup && exit 0 2.9 fi 2.10 text=$(gettext "<b>Welcome to Ssfs GTK user interface</b>") 2.11 info | yad \ 2.12 @@ -81,7 +81,7 @@ 2.13 login=$(echo $main | cut -d '|' -f 1) 2.14 host=$(echo $main | cut -d '|' -f 2) 2.15 [ "$host" ] || exit 0 2.16 - terminal -hold -geometry 72x10 \ 2.17 + terminal -hold -geometry 72x14 \ 2.18 -e "ssfs setup --login=$login --host=$host" 2.19 } 2.20