X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;h=b1ed247d19331b3e918d1b32fa9587f19ba5b2c9;hb=6e778099;hp=3093e64d5bd17c2c9284c3442cffa6b3e4fe1b84;hpb=4b2e8632eba4fa2343986f897cfcd59ed1413d66;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 3093e64..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/bash -# Filename: /etc/grml/fai/config/scripts/GRMLBASE/31-motd -# Purpose: make sure the motd setup is correct +# 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