From ee145648da8dff8f262b0dfc8b164349c113154b Mon Sep 17 00:00:00 2001 From: Lucas Castro Date: Thu, 11 Jan 2024 00:05:31 -0300 Subject: New upstream version 1.0.5 --- globals.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'globals.c') diff --git a/globals.c b/globals.c index 9af3a6f..7f2cae0 100644 --- a/globals.c +++ b/globals.c @@ -12,13 +12,15 @@ License: GPLv2 #include "globals.h" #include "defs.h" +#define LSM_CONFIG_FILE ETCDIR "/lsm.conf" + static char *prog = NULL; static int cont = TRUE; static int dump = FALSE; static int ident = 0; static int reload_cfg = FALSE; static int dump_if_list = FALSE; -static char *configfile = "/etc/lsm/lsm.conf"; +static char *configfile = LSM_CONFIG_FILE; static char *pidfile = "/var/run/lsm.pid"; static int nodaemon = 0; static char *status_str[] = { "down", "up", "unknown", "long_down" }; -- cgit v1.2.3