summaryrefslogtreecommitdiff
path: root/aports/radvd
diff options
context:
space:
mode:
authorPÁLI Gábor János <pali.gabor@gmail.com>2023-09-26 10:03:48 +0200
committerPÁLI Gábor János <pali.gabor@gmail.com>2023-09-26 11:53:45 +0200
commit2646128d92561b62fe4ea863aee9cad4b5fa8eda (patch)
tree122092ba14f8db06bd69c5110112d2494b320d38 /aports/radvd
parentfdf0ee1aed41faf765016b4571a5d0cadaac70fa (diff)
downloadfreebsd-wifibox-alpine-2646128d92561b62fe4ea863aee9cad4b5fa8eda.zip
Implement daisy-chaining of `dhcpcd` and `radvd`
Diffstat (limited to 'aports/radvd')
-rw-r--r--aports/radvd/APKBUILD4
-rw-r--r--aports/radvd/radvd.confd2
-rw-r--r--aports/radvd/radvd.initd6
3 files changed, 7 insertions, 5 deletions
diff --git a/aports/radvd/APKBUILD b/aports/radvd/APKBUILD
index 78e4a95..846b9aa 100644
--- a/aports/radvd/APKBUILD
+++ b/aports/radvd/APKBUILD
@@ -37,7 +37,7 @@ package() {
sha512sums="
a1eb40af90fc83ebab2517c16a0f7e85c11338ab276bec400b7c33177748d1e36bc5abd7e373b6742f12f7c690dd7ae6b951bc832c7de9bbb56f7e9bc844ed22 radvd-2.19.tar.xz
-fd78249b8ae25d1c55fc0b5cc2b3dd202388c0ca7be2737ecbd33ed5cd3c8616858aa46350967350fe8e8c0032552126918c8b9c36b13d799f3c5d8fb576fdf8 radvd.initd
-31cca1d48e5f0c4fe96a7a32ca6339e7aa9e478f7e9086f05bbc79ca59b1637d99e46079d7be77ef717a8fb975fada7664058e3bc61117309025b72f3e87d294 radvd.confd
+9f91741b96a2c588ff415d0ddb29d083adfcfa000540b78ca0553ba06d62e646a32fb8927e39e3acfe13c72ae0c8037a22e7e9d6e61e94764360b61a8777bfc5 radvd.initd
+dab393c7b5b6c012fb190c7fb5c35c77de6fb93dae37cd41125caeb1160ad967f115d3f024019abf70fa446045ea8c61dfc391752e91f7d6f7c542c60750c4ba radvd.confd
dffe4167c54c430fc38953e70d546fdf443944eceee4c610f14d63947fe8c04960b48a8acf5742edf8721558c4b811c9a4033ad9abe787ead9cc1bb0721b654c fix-alpine-plz.patch
"
diff --git a/aports/radvd/radvd.confd b/aports/radvd/radvd.confd
index 2c230ea..bd7caf7 100644
--- a/aports/radvd/radvd.confd
+++ b/aports/radvd/radvd.confd
@@ -4,3 +4,5 @@
# Extra options to pass to radvd
OPTIONS=""
+CONFIGFILE_TEMPLATE="/etc/radvd.conf"
+CONFIGFILE="/tmp/radvd.conf"
diff --git a/aports/radvd/radvd.initd b/aports/radvd/radvd.initd
index 108e483..f419e80 100644
--- a/aports/radvd/radvd.initd
+++ b/aports/radvd/radvd.initd
@@ -3,9 +3,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/files/radvd.init,v 1.6 2011/12/04 10:14:13 swegener Exp $
-CONFIGFILE=/etc/radvd.conf
-PIDFILE=/run/radvd/radvd.pid
-SYSCTL_FORWARD=net.ipv6.conf.all.forwarding
+: ${CONFIGFILE:=/etc/radvd.conf}
+: ${PIDFILE:=/run/radvd/radvd.pid}
+: ${SYSCTL_FORWARD:=net.ipv6.conf.all.forwarding}
extra_started_commands="reload"