summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.