conf: Read global config from $(sysconfdir)/bmon.conf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
parent
b34be16240
commit
be8ef18b74
@ -531,7 +531,7 @@ void configfile_read(void)
|
|||||||
if (configfile)
|
if (configfile)
|
||||||
conf_read(configfile, 1);
|
conf_read(configfile, 1);
|
||||||
else {
|
else {
|
||||||
conf_read(SYSCONFDIR "/bmonrc", 0);
|
conf_read(SYSCONFDIR "/bmon.conf", 0);
|
||||||
|
|
||||||
if (getenv("HOME")) {
|
if (getenv("HOME")) {
|
||||||
char path[FILENAME_MAX+1];
|
char path[FILENAME_MAX+1];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user