summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorMichael Larson <slioch@slioch.vyatta.com>2010-06-05 09:48:06 -0700
committerMichael Larson <slioch@slioch.vyatta.com>2010-06-05 09:48:06 -0700
commit6fcaf773333e0285464e774751c95b79ec9c4ff5 (patch)
treeacbb76d9adf1e02c669a868f48969dffa648221c /src/common
parenta15eb820c2a21546c39be544b69bd91b3f8a6b6c (diff)
downloadvyatta-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.h4
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
{