diff options
| author | Lucas Castro <lucas@gnuabordo.com.br> | 2024-01-11 00:05:31 -0300 |
|---|---|---|
| committer | Lucas de Castro Borges <lucas@gnuabordo.com.br> | 2024-06-05 13:23:31 -0300 |
| commit | ee145648da8dff8f262b0dfc8b164349c113154b (patch) | |
| tree | 177df2814ebc67c71bc08d4349c5f517bf496af3 /globals.c | |
| parent | 71810f99d67e3b3a151071f739c219b9afa2cddf (diff) | |
New upstream version 1.0.5
Diffstat (limited to 'globals.c')
| -rw-r--r-- | globals.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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" }; |
