diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-09 14:00:01 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2018-09-09 14:04:10 -0400 |
commit | e3572e4f5526ce566195fe8e515c10d3576f9561 (patch) | |
tree | 6414b883d93c0ab31c7fa1c738b25b0e296b1fc6 | |
parent | 2e5941565e6a353be7be18f9cf4913610c4da2bf (diff) |
common.sh: Update netctl-enable to not use ".include"
-rw-r--r-- | common.sh | 14 | ||||
-rw-r--r-- | config-parabola-box-proton-base.PKGBUILD | 3 | ||||
-rw-r--r-- | config-parabola-box-winston-base.PKGBUILD | 3 |
3 files changed, 10 insertions, 10 deletions
@@ -7,14 +7,12 @@ pkgname=$(basename "$BUILDFILE" .PKGBUILD) netctl-enable() ( . "etc/netctl/$1" unit=netctl@"$(systemd-escape -- "$1")".service - install -Dm644 /dev/stdin etc/systemd/system/"${unit}" <<EOF -.include /usr/lib/systemd/system/netctl@.service - -[Unit] -Description=${Description} -BindsTo=sys-subsystem-net-devices-${Interface}.device -After=sys-subsystem-net-devices-${Interface}.device -EOF + install -Dm644 /dev/stdin etc/systemd/system/"${unit}.d"/profile.conf <<-EOF + [Unit] + Description=${Description} + BindsTo=sys-subsystem-net-devices-${Interface}.device + After=sys-subsystem-net-devices-${Interface}.device + EOF add-unit etc/systemd/system/multi-user.target.wants/"$unit" ) diff --git a/config-parabola-box-proton-base.PKGBUILD b/config-parabola-box-proton-base.PKGBUILD index e7b314e..8ed6f23 100644 --- a/config-parabola-box-proton-base.PKGBUILD +++ b/config-parabola-box-proton-base.PKGBUILD @@ -1,8 +1,9 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20180826.1 +pkgver=20180909 package() { preamble +pkgdesc="Parabola server configuration: proton.parabola.nu base configuration" depends+=(config-parabola-box-base) diff --git a/config-parabola-box-winston-base.PKGBUILD b/config-parabola-box-winston-base.PKGBUILD index cf60cba..334d6c1 100644 --- a/config-parabola-box-winston-base.PKGBUILD +++ b/config-parabola-box-winston-base.PKGBUILD @@ -1,8 +1,9 @@ . ${BUILDFILE%/*}/common.sh -pkgver=20180826.1 +pkgver=20180909 package() { preamble +pkgdesc="Parabola server configuration: winston.parabola.nu base configuration" depends+=(config-parabola-box-base) |