startsync: make it more lenient when detecting slowness
This commit is contained in:
parent
03128e4d33
commit
74825e5ac7
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ pkgs.writeShellScriptBin "startsync" ''
|
||||||
while ! ls ~/sync/Passwords.kdbx ; do sleep 0.2 ; done
|
while ! ls ~/sync/Passwords.kdbx ; do sleep 0.2 ; done
|
||||||
while true ; do
|
while true ; do
|
||||||
(cat ~/sync/test > /dev/null ; touch ~/.syncfs_ok) &
|
(cat ~/sync/test > /dev/null ; touch ~/.syncfs_ok) &
|
||||||
sleep 5
|
sleep 7
|
||||||
if ! [ -e ~/.syncfs_ok ] ; then
|
if ! [ -e ~/.syncfs_ok ] ; then
|
||||||
"$script" stop
|
"$script" stop
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Add table
Reference in a new issue