diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 14:06:26 -0500 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2007-11-05 14:06:26 -0500 |
commit | 7f14287648289acadc203a37afddb777abfaa237 (patch) | |
tree | 42889439a56f6fc3f8db68a35812c94b7a0d8a1f |
stub programs
-rw-r--r-- | etc-clone | 4 | ||||
-rw-r--r-- | etc-init | 3 | ||||
-rw-r--r-- | etc-post-apt | 4 | ||||
-rw-r--r-- | etc-pre-apt | 4 |
4 files changed, 15 insertions, 0 deletions
diff --git a/etc-clone b/etc-clone new file mode 100644 index 0000000..d257c66 --- /dev/null +++ b/etc-clone @@ -0,0 +1,4 @@ +#!/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 new file mode 100644 index 0000000..50fb408 --- /dev/null +++ b/etc-init @@ -0,0 +1,3 @@ +#!/bin/sh +# Initialise /etc as a git repository (if it isn't already), set up hooks, etc. +# Do not commit anything though. diff --git a/etc-post-apt b/etc-post-apt new file mode 100644 index 0000000..a5aa9e5 --- /dev/null +++ b/etc-post-apt @@ -0,0 +1,4 @@ +#!/bin/sh +# Intended to be an apt DPkg::Post-Invoke hook. Runs +# /etc/etckeeper/post-apt.d/* hooks, which can be used to +# add new files, and commit the changes. diff --git a/etc-pre-apt b/etc-pre-apt new file mode 100644 index 0000000..01da221 --- /dev/null +++ b/etc-pre-apt @@ -0,0 +1,4 @@ +#!/bin/sh +# Intended to be an apt DPkg::Pre-Install-Pkgs hook. Runs +# /etc/etckeeper/pre-apt.d/* hooks, which can be used to check for +# uncommitted files in /etc, and so on, before apt runs. |