From ae435b1972ab95b647e816da6a2dbb9951628218 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 20 Dec 2016 18:10:30 +0100 Subject: 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 --- watchquagga/watchquagga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'watchquagga') 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"); -- cgit v1.2.3