- # shellcheck shell=sh
- (
- msg 'setting up lo interface'
- ip addr add 127.0.0.1/8 dev lo brd +
- ip link set up dev lo
- : "${DUMMY_INTERFACE:=dummy0}"
- if ip a s type dummy "${DUMMY_INTERFACE}" 2>/dev/null 1>/dev/null; then
- msg "deleting dummy interface: ${DUMMY_INTERFACE}"
- ip l d "${DUMMY_INTERFACE}"
- fi
- ) &
|