diff options
author | Erich Eckner <git@eckner.net> | 2017-03-23 18:18:34 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-23 18:18:34 +0100 |
commit | ea16f98909eca5ef4d8d9bfcd50f52c6f7ae2003 (patch) | |
tree | 08e4bcae243b8f813e90110520735c0b53075bae | |
parent | 0e36aca50da429a91b6651efbcea22d64183d139 (diff) | |
download | cryptfs-daemon-ea16f98909eca5ef4d8d9bfcd50f52c6f7ae2003.tar.xz |
accept ipv6, too
-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 ! ip addr | grep -v "127\.0\.0\.1" | grep -q "^\s*inet\s[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+\.[[:digit:]]\+/" + while ! /sbin/ip -o addr show scope global | grep -q '\S' do >&2 echo -ne "." sleep 1 |