android_mt6572_jiabo/system/extras/tests/net_test/ping6_test.sh
2025-09-05 16:56:03 +08:00

16 lines
266 B
Bash
Executable file

#!/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