startsync: move to broken
This commit is contained in:
parent
9c1f64b488
commit
ea4d4d8f70
1 changed files with 3 additions and 1 deletions
|
@ -6,8 +6,10 @@ pkgs.writeShellScriptBin "startsync" ''
|
|||
killall sshfs sftp
|
||||
sleep 0.5
|
||||
killall -9 sshfs sftp
|
||||
sudo umount -l sync
|
||||
sudo umount -l ~/sync
|
||||
sleep 0.5
|
||||
mkdir ~/broken
|
||||
mv ~/sync/* ~/broken/
|
||||
if [ "$1" = "stop" ] ; then exit ; fi
|
||||
sshfs -p 23 root@tudbut.de:sync ~/sync
|
||||
while ! ls ~/sync/Passwords.kdbx ; do sleep 0.2 ; done
|
||||
|
|
Loading…
Add table
Reference in a new issue