diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-12-23 15:25:12 +0200 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2016-12-23 15:25:12 +0200 |
commit | 49aef08bd387a8d341dc67e7b3d5ade20eb228e8 (patch) | |
tree | 1221c65758a84916189e2e5fae70019d439c3f52 /main/busybox/dad.if-up | |
parent | 2f07dfbfd1efd65126d2247b076c10142f7d6696 (diff) | |
download | aports-49aef08bd387a8d341dc67e7b3d5ade20eb228e8.tar.bz2 aports-49aef08bd387a8d341dc67e7b3d5ade20eb228e8.tar.xz |
main/busybox: ifup: block until DAD completion
fixes #2773
Diffstat (limited to 'main/busybox/dad.if-up')
-rw-r--r-- | main/busybox/dad.if-up | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/busybox/dad.if-up b/main/busybox/dad.if-up new file mode 100644 index 0000000000..e76bb60bfa --- /dev/null +++ b/main/busybox/dad.if-up @@ -0,0 +1,8 @@ +#!/bin/sh + +# Block ifup until DAD completion +# Copyright (c) 2016 Kaarle Ritvanen + +while ip address show dev $IFACE | grep -q " tentative "; do + sleep 0.2 +done |