X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;h=679c95f848c65e0cd4df3aac60edf9f27d412d98;hp=2d20b0af9ab9da3dd91eeb404ce53b69eb8e636c;hb=68b9fb146e8702b2f6a790e3d9486ca36f0d9f76;hpb=e08881cde5d29236a5992a0a501b43e88d66732d diff --git a/etc/grml/fai/config/scripts/GRMLBASE/31-motd b/etc/grml/fai/config/scripts/GRMLBASE/31-motd index 2d20b0a..679c95f 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/31-motd +++ b/etc/grml/fai/config/scripts/GRMLBASE/31-motd @@ -1,16 +1,18 @@ #!/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] +# Latest change: Wed Sep 19 20:13:01 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