You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
266 B
17 lines
266 B
7 months ago
|
#!/bin/bash
|
||
|
|
||
|
# Minimal network initialization.
|
||
|
ip link set eth0 up
|
||
|
|
||
|
# Wait for autoconf and DAD to complete.
|
||
|
sleep 3 &
|
||
|
|
||
|
# Block on starting DHCPv4.
|
||
|
udhcpc -i eth0
|
||
|
|
||
|
# If DHCPv4 took less than 3 seconds, keep waiting.
|
||
|
wait
|
||
|
|
||
|
# Run the test.
|
||
|
$(dirname $0)/ping6_test.py
|