From: Alan T. DeKok Date: Mon, 1 Jun 2015 14:59:03 +0000 (-0400) Subject: Parse ${logdir} and ${run_dir} as part of bootstrap X-Git-Tag: release_3_0_9~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b27cfa054614a97ab0ef74b0dfa8f0d9c7b1c538;p=thirdparty%2Ffreeradius-server.git Parse ${logdir} and ${run_dir} as part of bootstrap --- diff --git a/src/main/mainconfig.c b/src/main/mainconfig.c index e89f87571b0..c1a1b7f11da 100644 --- a/src/main/mainconfig.c +++ b/src/main/mainconfig.c @@ -215,6 +215,9 @@ static const CONF_PARSER bootstrap_security_config[] = { static const CONF_PARSER bootstrap_config[] = { { "security", FR_CONF_POINTER(PW_TYPE_SUBSECTION, NULL), (void const *) bootstrap_security_config }, + { "logdir", FR_CONF_POINTER(PW_TYPE_STRING, &radlog_dir), "${localstatedir}/log"}, + { "run_dir", FR_CONF_POINTER(PW_TYPE_STRING, &run_dir), "${localstatedir}/run/${name}"}, + /* * For backwards compatibility. */