conf: Read global config from $(sysconfdir)/bmon.conf
Signed-off-by: Thomas Graf <tgraf@suug.ch>
This commit is contained in:
		| @ -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]; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user