X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;h=e24123cfed5d3660e100ae4ba67a344ed7e20798;hp=2d20b0af9ab9da3dd91eeb404ce53b69eb8e636c;hb=2def18e419f1474c3904672ce297babbb4b9b501;hpb=e08881cde5d29236a5992a0a501b43e88d66732d diff --git a/etc/grml/fai/config/scripts/GRMLBASE/31-motd b/etc/grml/fai/config/scripts/GRMLBASE/31-motd index 2d20b0a..e24123c 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/31-motd +++ b/etc/grml/fai/config/scripts/GRMLBASE/31-motd @@ -1,16 +1,17 @@ #!/bin/sh -# Filename: /etc/grml/fai/config/scripts/GRML/31-motd +# Filename: /etc/grml/fai/config/scripts/GRMLBASE/31-motd # Purpose: make sure the motd setup is correct # 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: Sun Sep 16 23:00:35 CEST 2007 [mika] ################################################################################ set -u set -e -$ROOTCMD mv /etc/motd.dpkg-new /var/run/motd +if [ -f $target/etc/motd.dpkg-new ] ; then + $ROOTCMD mv /etc/motd.dpkg-new /var/run/motd +fi ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3