summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rwxr-xr-xinit.d/40git-pre-commit-hook1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/40git-pre-commit-hook b/init.d/40git-pre-commit-hook
index 360be8c..a5b45d3 100755
--- a/init.d/40git-pre-commit-hook
+++ b/init.d/40git-pre-commit-hook
@@ -10,6 +10,7 @@ else
# pre-commit hook for etckeeper. Calls etckeeper-pre-commit to store metadata
# and do sanity checks.
set -e
+cd /etc
etckeeper-pre-commit
EOF
chmod +x .git/hooks/pre-commit