summaryrefslogtreecommitdiff
path: root/config-winston-network.PKGBUILD
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-07-12 02:05:25 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-07-12 02:05:25 -0400
commita4c65cf09ff95a040aafab8d756e5a11b4caa331 (patch)
treea8bc2c5d4086d7def6e529791b4e7650d6eb7f1d /config-winston-network.PKGBUILD
parentad057ec1d88d71018e1d82c2fb765a4f7a746579 (diff)
tidy
Diffstat (limited to 'config-winston-network.PKGBUILD')
-rw-r--r--config-winston-network.PKGBUILD44
1 files changed, 0 insertions, 44 deletions
diff --git a/config-winston-network.PKGBUILD b/config-winston-network.PKGBUILD
deleted file mode 100644
index 6da7147..0000000
--- a/config-winston-network.PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-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 <<EOF
-Description='A basic static ethernet connection'
-Interface=eth0
-Connection=ethernet
-IP=static
-Address=('93.95.226.249/25')
-Gateway='93.95.226.129'
-DNS=('93.95.224.28' '93.95.224.29')
-EOF
-
-# This is just `netctl enable eth0-static`
-install -Dm644 /dev/stdin 'etc/systemd/system/netctl@eth0\x2dstatic.service' <<EOF
-.include /usr/lib/systemd/system/netctl@.service
-
-[Unit]
-Description=A basic static ethernet connection
-BindsTo=sys-subsystem-net-devices-eth0.device
-After=sys-subsystem-net-devices-eth0.device
-EOF
-install -dm755 etc/systemd/system/multi-user.target.wants
-ln -s 'etc/systemd/system/netctl@eth0\x2dstatic.service' 'etc/systemd/system/multi-user.target.wants/netctl@eth0\x2dstatic.service'
-
-}