pkgver=1 pkgrel=1 arch=(any) pkgname=config-winston-network depends=(netctl) package() { cd "$pkgdir" # /etc/udev/rules.d/80-net-setup-link.rules is a symlink to /dev/null, # which disables new-style [predictable network interface names][0] # (enp0s3? ens3?), and causes it to fall back to the old-style names # (eth0). # # [0]: https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ install -dm755 etc/udev/rules.d ln -s /dev/null etc/udev/rules.d/80-net-setup-link.rules # The netctl profile eth0-static just has the network information from # the 1984 VPS control panel. install -Dm644 /dev/stdin etc/netctl/eth0-static <