X-Git-Url: https://git.grml.org/?a=blobdiff_plain;ds=sidebyside;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;fp=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;h=05d7b0160f53e174619188e13f6ff3d8f098f83c;hb=ada9ee0154c453dc6f1236527e1a7ed82890ba4b;hp=2d20b0af9ab9da3dd91eeb404ce53b69eb8e636c;hpb=f684e9577f54be351e2c3dcdbc4414101433bb10;p=grml-live.git diff --git a/etc/grml/fai/config/scripts/GRMLBASE/31-motd b/etc/grml/fai/config/scripts/GRMLBASE/31-motd index 2d20b0a..05d7b01 100755 --- a/etc/grml/fai/config/scripts/GRMLBASE/31-motd +++ b/etc/grml/fai/config/scripts/GRMLBASE/31-motd @@ -4,13 +4,15 @@ # 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