summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2018-09-09 14:00:01 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-09-09 14:04:10 -0400
commite3572e4f5526ce566195fe8e515c10d3576f9561 (patch)
tree6414b883d93c0ab31c7fa1c738b25b0e296b1fc6
parent2e5941565e6a353be7be18f9cf4913610c4da2bf (diff)
common.sh: Update netctl-enable to not use ".include"
-rw-r--r--common.sh14
-rw-r--r--config-parabola-box-proton-base.PKGBUILD3
-rw-r--r--config-parabola-box-winston-base.PKGBUILD3
3 files changed, 10 insertions, 10 deletions
diff --git a/common.sh b/common.sh
index de27a54..62af7fa 100644
--- a/common.sh
+++ b/common.sh
@@ -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)