summaryrefslogtreecommitdiffstats
path: root/pkgsrc/zebra.sh.in
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2024-01-24 19:32:10 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2024-01-27 19:01:19 +0100
commitff62df2e4484b9f89fea4ed736006c21f3a797cc (patch)
tree2664eb4ea9f7b2f0bd2fa5b725c66f4a16863d3e /pkgsrc/zebra.sh.in
parentbuild: use AX_RECURSIVE_EVAL (diff)
downloadfrr-ff62df2e4484b9f89fea4ed736006c21f3a797cc.tar.xz
frr-ff62df2e4484b9f89fea4ed736006c21f3a797cc.zip
build: untangle sysconfdir & localstatedir
`--sysconfdir` should be `/etc` and `--localstatedir` should be `/var`. The package-specific subdirectory should be added by configure, not given by the user, to match established behavior by other packages. Note that `--bindir`, `--sbindir`, `--libdir` and `--libexecdir` have different established/expected behavior due to distro specific multi-arch support. That's why these are left unchanged. The reason this is getting fixed now is that we need to use `--localstatedir` for its actual value to put things in `/var/lib`. As it is now, being overloaded for `/run`, the configured `/var` path becomes inaccessible. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to '')
-rw-r--r--pkgsrc/zebra.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgsrc/zebra.sh.in b/pkgsrc/zebra.sh.in
index c2f12a783..dc5016cd1 100644
--- a/pkgsrc/zebra.sh.in
+++ b/pkgsrc/zebra.sh.in
@@ -16,7 +16,7 @@ fi
name="zebra"
rcvar=$name
-required_files="@sysconfdir@/${name}.conf"
+required_files="@CFG_SYSCONF@/${name}.conf"
command="@prefix@/sbin/${name}"
command_args="-d"