1 #!/bin/bash 2 3 # Minimal network initialization. 4 ip link set eth0 up 5 6 # Wait for autoconf and DAD to complete. 7 sleep 3 & 8 9 # Block on starting DHCPv4. 10 udhcpc -i eth0 11 12 # If DHCPv4 took less than 3 seconds, keep waiting. 13 wait 14 15 # Run the test. 16 $(dirname $0)/ping6_test.py 17