diff options
author | Erich Eckner <git@eckner.net> | 2017-03-24 20:18:05 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-24 20:18:05 +0100 |
commit | 167cb69386d9c6dec1c283e0bbc04894ad8e641e (patch) | |
tree | a18f9fbe823220c67ac963c6113e207461469eea | |
parent | ea1465c55732cebc17f4bc93b703bb1beafa7e55 (diff) | |
download | cryptfs-daemon-167cb69386d9c6dec1c283e0bbc04894ad8e641e.tar.xz |
now respects maxWait :-/
-rw-r--r-- | cryptfs.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -42,7 +42,7 @@ start) if echo "${fsTab}" | grep -q "^\(ssh\|ftp\)fs#\S*\s\+${neededKeyFs}\s" then maxWait=120 - while ! /sbin/ip -o addr show scope global | grep -q '\S' + while [ ${maxWait} -gt 0 ] && ! /sbin/ip -o addr show scope global | grep -q '\S' do >&2 echo -ne "." sleep 1 |