diff options
author | Erich Eckner <git@eckner.net> | 2017-04-01 08:53:12 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-04-01 08:53:12 +0200 |
commit | d34be2b3bda4d0bffbcea69e5a827a13249d7af6 (patch) | |
tree | bf29b14e7b58f9fcbecebf1252f782d07327eb8a | |
parent | f6bcdc7a5b8992511ffa0f8882a85624230aa61f (diff) | |
download | cryptfs-daemon-d34be2b3bda4d0bffbcea69e5a827a13249d7af6.tar.xz |
procede if ping6 succeedes
-rw-r--r-- | cryptfs.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -53,7 +53,7 @@ start) grep -m1 "^\(ssh\|ftp\)fs#\S*\s\+${neededKeyFs}\s" | \ sed "s>^\(ssh\|ftp\)fs#\([^ :@]*@\)\?\([^ :@]\+\)\(:\S\+\)\?\s\+${neededKeyFs}\s.*$>\3>" )" - while [ ${maxWait} -gt 0 ] && ! /bin/ping -c1 ${host} &> /dev/null + while [ ${maxWait} -gt 0 ] && ! /bin/ping6 -c1 ${host} &> /dev/null && ! /bin/ping -c1 ${host} &> /dev/null do >&2 echo -ne "," sleep 1 |