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=05d7b0160f53e174619188e13f6ff3d8f098f83c;hb=f3b335ea5c94d5cf24ec6b9184106b298849f311;hpb=ada9ee0154c453dc6f1236527e1a7ed82890ba4b diff --git a/etc/grml/fai/config/scripts/GRMLBASE/31-motd b/etc/grml/fai/config/scripts/GRMLBASE/31-motd index 05d7b01..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/GRML/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