diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2016-12-20 18:10:30 +0100 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-20 18:18:44 +0100 |
commit | ae435b1972ab95b647e816da6a2dbb9951628218 (patch) | |
tree | 157435d20e9a8170d1477c5db58cd1f90f1b5f1c /watchquagga | |
parent | build: remove INSTALL.quagga.txt (diff) | |
download | frr-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.c | 2 |
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"); |