diff options
author | Michael Larson <slioch@slioch.vyatta.com> | 2010-06-05 09:48:06 -0700 |
---|---|---|
committer | Michael Larson <slioch@slioch.vyatta.com> | 2010-06-05 09:48:06 -0700 |
commit | 6fcaf773333e0285464e774751c95b79ec9c4ff5 (patch) | |
tree | acbb76d9adf1e02c669a868f48969dffa648221c /src/common | |
parent | a15eb820c2a21546c39be544b69bd91b3f8a6b6c (diff) | |
download | vyatta-cfg-6fcaf773333e0285464e774751c95b79ec9c4ff5.tar.gz vyatta-cfg-6fcaf773333e0285464e774751c95b79ec9c4ff5.zip |
add commit hook directory.
The entitlement bug can be fixed https://bugzilla.vyatta.com/show_bug.cgi?id=5354 by adding a hook into this directory.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/defs.h b/src/common/defs.h index 88b8441..dcced15 100644 --- a/src/common/defs.h +++ b/src/common/defs.h @@ -17,6 +17,10 @@ #define ENV_ACTION_ACTIVE "ACTIVE" #define ENV_SIBLING_POSITION "COMMIT_SIBLING_POSITION" #define ENV_DATA_PATH "NODE_DATA_PATH" +#define ENV_COMMIT_STATUS "COMMIT_STATUS" + +#define COMMIT_CHANGES_FILE "/tmp/.changes" +#define COMMIT_HOOK_DIR "/etc/commit" struct Result { |