X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;h=b1ed247d19331b3e918d1b32fa9587f19ba5b2c9;hp=e24123cfed5d3660e100ae4ba67a344ed7e20798;hb=11fd80a246f79b851b0a98881e105563734d5325;hpb=2def18e419f1474c3904672ce297babbb4b9b501 diff --git a/etc/grml/fai/config/scripts/GRMLBASE/31-motd b/etc/grml/fai/config/scripts/GRMLBASE/31-motd index e24123c..b1ed247 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/31-motd +++ b/etc/grml/fai/config/scripts/GRMLBASE/31-motd @@ -1,6 +1,6 @@ -#!/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. @@ -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 -v /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