From 88b8d73369ded22c82f0bab83a1ff8dc72713549 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Wed, 2 Nov 2016 10:02:37 +0100 Subject: [PATCH] saving uncommitted changes in /etc prior to apt run --- .etckeeper | 2 ++ cron.d/greetings | 3 +++ motd | 9 +++++++++ motd.tail | 6 ++++++ 4 files changed, 20 insertions(+) create mode 100644 cron.d/greetings create mode 100644 motd.tail diff --git a/.etckeeper b/.etckeeper index 5f58034..896efbb 100755 --- a/.etckeeper +++ b/.etckeeper @@ -191,6 +191,7 @@ maybe chmod 0755 'cron.d' maybe chmod 0644 'cron.d/.placeholder' maybe chmod 0644 'cron.d/amavisd-new' maybe chmod 0644 'cron.d/apticron' +maybe chmod 0644 'cron.d/greetings' maybe chmod 0644 'cron.d/php5' maybe chmod 0755 'cron.daily' maybe chmod 0644 'cron.daily/.placeholder' @@ -748,6 +749,7 @@ maybe chmod 0644 'modprobe.d/fbdev-blacklist.conf' maybe chmod 0644 'modules' maybe chmod 0755 'modules-load.d' maybe chmod 0644 'motd' +maybe chmod 0644 'motd.tail' maybe chmod 0755 'mysql' maybe chmod 0755 'mysql/conf.d' maybe chmod 0644 'mysql/conf.d/.keepme' diff --git a/cron.d/greetings b/cron.d/greetings new file mode 100644 index 0000000..a3bf1b4 --- /dev/null +++ b/cron.d/greetings @@ -0,0 +1,3 @@ +# Eine nette Begrüßung ... +1,11,21,31,41,51 * * * * root test -x /root/bin/generate-motd.sh && /root/bin/generate-motd.sh >/dev/null +@reboot root test -x /root/bin/generate-motd.sh && /root/bin/generate-motd.sh >/dev/null diff --git a/motd b/motd index fc71ee1..e760b90 100644 --- a/motd +++ b/motd @@ -1,6 +1,15 @@ +Linux sarah 4.6.0-0.bpo.1-amd64 #1 SMP Debian 4.6.3-1~bpo8+1 (2016-07-13) x86_64 GNU/Linux +Debian GNU/Linux 8.6 (jessie) ____ _ / ___| __ _ _ __ __ _| |__ \___ \ / _` | '__/ _` | '_ \ ___) | (_| | | | (_| | | | | |____/ \__,_|_| \__,_|_| |_| + +Es nützt dem Menschen nichts, den Mond zu gewinnen, wenn er dabei die +Erde verliert. + -- Francois Mauriac + +Today is Sweetmorn, the 14th day of The Aftermath in the YOLD 3182 + diff --git a/motd.tail b/motd.tail new file mode 100644 index 0000000..fc71ee1 --- /dev/null +++ b/motd.tail @@ -0,0 +1,6 @@ + ____ _ +/ ___| __ _ _ __ __ _| |__ +\___ \ / _` | '__/ _` | '_ \ + ___) | (_| | | | (_| | | | | +|____/ \__,_|_| \__,_|_| |_| + -- 2.39.5