Define DEFAULT_CONF_FILE in config.h
This commit is contained in:
parent
73d4eaafbb
commit
4e8ceaae86
2 changed files with 1 additions and 9 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue