12 lines
186 B
Plaintext
12 lines
186 B
Plaintext
|
#!/bin/sh -e
|
||
|
|
||
|
# check for internet connection
|
||
|
! ip route ls | grep -v ''
|
||
|
|
||
|
# check if the gpg-agent is running
|
||
|
pgrep gpg-agent >/dev/null
|
||
|
|
||
|
vdirsyncer -v WARNING sync 2>&1
|
||
|
|
||
|
exec sleep 10m
|