version 1.1.2.10, 2007/01/11 21:36:06
|
version 1.1.2.11, 2007/01/12 01:42:12
|
|
|
#include "Globals.h" | #include "Globals.h" |
#include "Socket.h" | #include "Socket.h" |
#include "Strlcpy.h" | #include "Strlcpy.h" |
|
#include "Strlcat.h" |
#include "Log.h" | #include "Log.h" |
#include "Policy.h" | #include "Policy.h" |
#include "Macro.h" | #include "Macro.h" |
|
|
| |
if (DefineConfigPathMacro("crlStore", "crl") != 0) | if (DefineConfigPathMacro("crlStore", "crl") != 0) |
Fatal(FL, "missing \"crlStore\" configuration parameter."); | Fatal(FL, "missing \"crlStore\" configuration parameter."); |
|
|
|
/* Define ${policyConfigFilePath} */ |
|
{ |
|
char path1[EXECUTOR_BUFFER_SIZE]; |
|
char path2[EXECUTOR_BUFFER_SIZE]; |
|
|
|
ExpandMacros("${currentConfigFilePath}", path1); |
|
DirName(path1, path2); |
|
Strlcat(path2, "/cimserver_policy.conf", sizeof(path2)); |
|
|
|
DefineMacro("policyConfigFilePath", path2); |
|
} |
} | } |
| |
/* | /* |
|
|
if (options.shutdown) | if (options.shutdown) |
ExecShutdown(); | ExecShutdown(); |
| |
|
/* Load the dynamic policy file. */ |
|
|
|
LoadDynamicPolicy(); |
|
|
/* Process --policy and --macros options. */ | /* Process --policy and --macros options. */ |
| |
if (options.policy || options.macros) | if (options.policy || options.macros) |