mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 03:15:07 -05:00
Define DEFAULT_CONF_FILE in config.h
This commit is contained in:
8
conf.c
8
conf.c
@@ -54,14 +54,6 @@
|
|||||||
#include "broadcast.h"
|
#include "broadcast.h"
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
/* ================================================== */
|
|
||||||
|
|
||||||
#ifndef DEFAULT_CONF_DIR
|
|
||||||
#define DEFAULT_CONF_DIR "/etc"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define DEFAULT_CONF_FILE DEFAULT_CONF_DIR"/chrony.conf"
|
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
/* Forward prototypes */
|
/* Forward prototypes */
|
||||||
|
|
||||||
|
|||||||
2
configure
vendored
2
configure
vendored
@@ -564,7 +564,7 @@ if [ "x$SETDOCDIR" != "x" ]; then
|
|||||||
DOCDIR=$SETDOCDIR
|
DOCDIR=$SETDOCDIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_def DEFAULT_CONF_DIR "\"$SYSCONFDIR\""
|
add_def DEFAULT_CONF_FILE "\"$SYSCONFDIR/chrony.conf\""
|
||||||
add_def MAIL_PROGRAM "\"$mail_program\""
|
add_def MAIL_PROGRAM "\"$mail_program\""
|
||||||
|
|
||||||
if [ -f version.txt ]; then
|
if [ -f version.txt ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user