summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2007-11-05 14:11:07 -0500
committerJoey Hess <joey@kodama.kitenet.net>2007-11-05 14:11:07 -0500
commita70a5a058b2788531d305350742a5863ea1092d6 (patch)
tree0a852d1d1bc54f51816366c2f28afa818d70c5e6
parent7f14287648289acadc203a37afddb777abfaa237 (diff)
let's not make it really git specific..
-rw-r--r--etc-clone4
-rw-r--r--etc-init7
2 files changed, 5 insertions, 6 deletions
diff --git a/etc-clone b/etc-clone
deleted file mode 100644
index d257c66..0000000
--- a/etc-clone
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/bin/sh
-# Clone a git repository that holds an /etc. Doesn't check it out to /etc
-# by default though. Calls etc-init to set up hooks, and ensures that files
-# like shadow are never world readable during the cloning process.
diff --git a/etc-init b/etc-init
index 50fb408..8a0c995 100644
--- a/etc-init
+++ b/etc-init
@@ -1,3 +1,6 @@
#!/bin/sh
-# Initialise /etc as a git repository (if it isn't already), set up hooks, etc.
-# Do not commit anything though.
+# Initialise the current directory (typically /etc) for use by etckeeper.
+# Runs etc/etckeeper/post-apt.d/* hooks, which handle chores like setting
+# up metadata storage hooks, ignores, adding files (but not committing
+# those added files), and ensuring that the revision control directory
+# won't leak data from files like shadow, by making it mode 700.