summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2022-08-28 10:17:35 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2022-08-28 10:17:35 +0200
commite68b94171e48c665bca63264bc55caa67fe81ca5 (patch)
tree1b333c7b17452c53eacc9fc180b7336ce15da53a
parentf20ecd70b40a812bd2a04b3beab2d2ef2fe08eed (diff)
downloadbin-e68b94171e48c665bca63264bc55caa67fe81ca5.zip
bin-e68b94171e48c665bca63264bc55caa67fe81ca5.tar.gz
netset : increase wait time
-rwxr-xr-xnetset2
1 files changed, 1 insertions, 1 deletions
diff --git a/netset b/netset
index cf28795..f8bcc23 100755
--- a/netset
+++ b/netset
@@ -34,7 +34,7 @@ ADDR=""
while [ -z "$ADDR" ]
do
N=$((N + 1))
- [ $N -eq 10 ] && echo " failure" && exit 1
+ [ $N -eq 15 ] && echo " failure" && exit 1
echo -n "." && sleep 1
ADDR=$(ip -4 -c addr show dev $dev | sed -n '/inet/p')
done