From a70a5a058b2788531d305350742a5863ea1092d6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 5 Nov 2007 14:11:07 -0500 Subject: let's not make it really git specific.. --- etc-clone | 4 ---- etc-init | 7 +++++-- 2 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 etc-clone 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. -- cgit v1.2.3