diff options
author | Stefan Kangas <skangas@skangas.se> | 2011-01-12 11:47:01 +0100 |
---|---|---|
committer | Stefan Kangas <skangas@skangas.se> | 2011-01-12 11:47:01 +0100 |
commit | 36e90956a9c44d517fc0bfc01cf511693dce779a (patch) | |
tree | 615aed19829b3e2c41ad580f1e18bc19c4531ce5 | |
parent | c18fca9f709a6e9425e4b9baab0287fa81caa59b (diff) |
Add info to warn when /etc has uncommitted
-rw-r--r-- | fripost-docs.org | 6 |
1 files changed, 6 insertions, 0 deletions
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 + + |