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