diff options
| author | Lucas Castro <lucas@gnuabordo.com.br> | 2024-01-11 00:05:31 -0300 |
|---|---|---|
| committer | Lucas Castro <lucas@gnuabordo.com.br> | 2024-01-11 00:05:31 -0300 |
| commit | f07863bd15070279a38dad7caa3617b0aaf44e96 (patch) | |
| tree | 2842390f7a6f00be63cf0c14dd940faa3494b5e1 /globals.c | |
| parent | a4270020addc324fb60d2b1b446b41bc31e3baf8 (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" }; |
