summaryrefslogtreecommitdiff
path: root/legacy/busybox/dad.if-up
diff options
context:
space:
mode:
Diffstat (limited to 'legacy/busybox/dad.if-up')
-rw-r--r--legacy/busybox/dad.if-up8
1 files changed, 8 insertions, 0 deletions
diff --git a/legacy/busybox/dad.if-up b/legacy/busybox/dad.if-up
new file mode 100644
index 000000000..e76bb60bf
--- /dev/null
+++ b/legacy/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