<?xml version="1.0" encoding="UTF-8" ?> <einit> <subsystem> <network> <dhcp> <client id="dhcpcd" pid="/var/run/dhcpcd-${interface}.pid" up="dhcpcd ${interface}" down="dhcpcd -k ${interface}" need-binaries="dhcpcd" /> <client id="pump" up="pump -i ${interface}" down="pump -k -i ${interface}" need-binaries="pump" /> <!-- dhclient is weird somehow... --> <client id="dhclient" up="dhclient ${interface}" down="killall dhclient" need-binaries="dhclient" /> </dhcp> <interface-defaults s="loopback:ethernet:wlan:any"> <any> <dhcp-client s="dhcpcd:pump:dhclient" /> </any> <ethernet id="^eth"> <address> <ipv4 address="dhcp" /> </address> <automatic b="yes" /> <immediate b="no" /> </ethernet> <wlan id="^(ra|wlan)"> <address> <ipv4 address="dhcp" /> </address> <automatic b="no" /> <immediate b="no" /> </wlan> <loopback id="^lo"> <address> <ipv4 address="127.0.0.1/8" /> <!-- <ipv6 address="::1" /> --> </address> <route network="127.0.0.0/8" /> <automatic b="yes" /> <immediate b="yes" /> </loopback> </interface-defaults> </network> </subsystem> </einit>