Add consistency to service files
This commit is contained in:
parent
b2072e7189
commit
d72155cd86
3 changed files with 9 additions and 9 deletions
|
@ -1,10 +1,10 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# check for internet connection
|
||||
! ip route ls | grep -v ''
|
||||
ip route ls | grep -q '.'
|
||||
|
||||
# check if the gpg-agent is running
|
||||
pgrep gpg-agent >/dev/null
|
||||
pgrep gpg-agent > /dev/null
|
||||
|
||||
vdirsyncer -v WARNING sync 2>&1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue