From 36e90956a9c44d517fc0bfc01cf511693dce779a Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 12 Jan 2011 11:47:01 +0100 Subject: Add info to warn when /etc has uncommitted --- fripost-docs.org | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/fripost-docs.org b/fripost-docs.org index 374b816..be97156 100644 --- a/fripost-docs.org +++ b/fripost-docs.org @@ -548,3 +548,9 @@ TODO: Add nice rules. It is also possible to use simple git commands in /etc, e.g. `git log'. `etckeeper' has the benefit of keeping track of file permissions, which git by itself will not. + +*** Warn when /etc has uncommitted changes on logout + + echo "sudo etckeeper unclean && echo \"WARNING: You have uncommitted changes in /etc\" && sudo git diff" >> ~/.bash_logout + + -- cgit v1.2.3