X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;h=71cf1f897212940ef2df4a2e5a7ccd45537770b6;hp=679c95f848c65e0cd4df3aac60edf9f27d412d98;hb=f3b335ea5c94d5cf24ec6b9184106b298849f311;hpb=02b32aa7fe4022fdefc80552539ecba4f1067492 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/31-motd b/etc/grml/fai/config/scripts/GRMLBASE/31-motd index 679c95f..71cf1f8 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/31-motd +++ b/etc/grml/fai/config/scripts/GRMLBASE/31-motd @@ -1,18 +1,15 @@ -#!/bin/sh -# Filename: /etc/grml/fai/config/scripts/GRMLBASE/31-motd -# Purpose: make sure the motd setup is correct +#!/bin/bash +# Filename: ${GRML_FAI_CONFIG}/config/scripts/GRMLBASE/31-motd +# 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. -# Latest change: Wed Sep 19 20:13:01 CEST 2007 [mika] ################################################################################ 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 +# vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=2