From 1455f914da3d0cf8a96ecb78261e9d6f8d8610cc Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Tue, 23 Nov 2010 12:51:59 +0100 Subject: [PATCH] fcopy motd instead of relying on grml-etc plus weirdness --- etc/grml/fai/config/files/etc/motd/GRMLBASE | 2 ++ etc/grml/fai/config/scripts/GRMLBASE/31-motd | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 etc/grml/fai/config/files/etc/motd/GRMLBASE diff --git a/etc/grml/fai/config/files/etc/motd/GRMLBASE b/etc/grml/fai/config/files/etc/motd/GRMLBASE new file mode 100644 index 0000000..1fc6f73 --- /dev/null +++ b/etc/grml/fai/config/files/etc/motd/GRMLBASE @@ -0,0 +1,2 @@ +grml - Linux for geeks + diff --git a/etc/grml/fai/config/scripts/GRMLBASE/31-motd b/etc/grml/fai/config/scripts/GRMLBASE/31-motd index 3093e64..a83dfe9 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/31-motd +++ b/etc/grml/fai/config/scripts/GRMLBASE/31-motd @@ -1,6 +1,6 @@ #!/bin/bash # Filename: /etc/grml/fai/config/scripts/GRMLBASE/31-motd -# Purpose: make sure the motd setup is correct +# Purpose: replace motd # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2 or any later version. @@ -9,9 +9,7 @@ set -u set -e -if [ -f $target/etc/motd.dpkg-new ] ; then - $ROOTCMD mv /etc/motd.dpkg-new /var/run/motd -fi +fcopy /etc/motd ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3 -- 2.1.4