summaryrefslogtreecommitdiffstats
path: root/watchquagga
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2016-12-20 18:10:30 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2016-12-20 18:18:44 +0100
commitae435b1972ab95b647e816da6a2dbb9951628218 (patch)
tree157435d20e9a8170d1477c5db58cd1f90f1b5f1c /watchquagga
parentbuild: remove INSTALL.quagga.txt (diff)
downloadfrr-ae435b1972ab95b647e816da6a2dbb9951628218.tar.xz
frr-ae435b1972ab95b647e816da6a2dbb9951628218.zip
build: replace some hardcoding with ./configure
Several places have paths and names that can change hardcoded, e.g. the package name and the /var/run path. This fixes a few of them, there's still some to do. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'watchquagga')
-rw-r--r--watchquagga/watchquagga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/watchquagga/watchquagga.c b/watchquagga/watchquagga.c
index 98e912956..a70070bef 100644
--- a/watchquagga/watchquagga.c
+++ b/watchquagga/watchquagga.c
@@ -706,7 +706,7 @@ daemon_send_ready (void)
#if defined (HAVE_CUMULUS)
FILE *fp;
- fp = fopen("/var/run/quagga/watchquagga.started", "w");
+ fp = fopen(DAEMON_VTY_DIR "/watchquagga.started", "w");
fclose(fp);
#endif
zlog_notice ("Watchquagga: Notifying Systemd we are up and running");