mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 14:25:06 -05:00
Set default chrony.conf path according to sysconfdir
This commit is contained in:
6
conf.c
6
conf.c
@@ -58,7 +58,11 @@
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
#define DEFAULT_CONF_FILE "/etc/chrony.conf"
|
||||
#ifndef DEFAULT_CONF_DIR
|
||||
#define DEFAULT_CONF_DIR "/etc"
|
||||
#endif
|
||||
|
||||
#define DEFAULT_CONF_FILE DEFAULT_CONF_DIR"/chrony.conf"
|
||||
|
||||
/* ================================================== */
|
||||
/* Forward prototypes */
|
||||
|
||||
Reference in New Issue
Block a user