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