ssy: wait for unmount
This commit is contained in:
parent
d9baa50301
commit
0b96e7967c
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@ with import <nixpkgs> {};
|
||||||
pkgs.writeShellScriptBin "ssy" ''
|
pkgs.writeShellScriptBin "ssy" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
startsync > /dev/null 2>&1 & disown
|
startsync > /dev/null 2>&1 & disown
|
||||||
|
while ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done
|
||||||
while ! ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done
|
while ! ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done
|
||||||
''
|
''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue