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