#!/usr/bin/env sh

# Enable DHCP on all ether ifaces... (sigh)
cat <<FOOF > /etc/systemd/network/20-ether.network
[Match]
Type=ether

[Network]
DHCP=yes
FOOF

# Freakin' arch makes you enable this
systemctl enable systemd-networkd.service

# And ditto for workable DNS
systemctl enable systemd-resolved.service
