From 6fcaf773333e0285464e774751c95b79ec9c4ff5 Mon Sep 17 00:00:00 2001 From: Michael Larson Date: Sat, 5 Jun 2010 09:48:06 -0700 Subject: 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. --- src/common/defs.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/common') 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 { -- cgit v1.2.3