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