X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fgrml%2Ffai%2Fconfig%2Fscripts%2FGRMLBASE%2F31-motd;h=a83dfe9606cdfa94289d7dc81173ccf0050407ad;hb=1455f914da3d0cf8a96ecb78261e9d6f8d8610cc;hp=e24123cfed5d3660e100ae4ba67a344ed7e20798;hpb=2def18e419f1474c3904672ce297babbb4b9b501;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 e24123c..a83dfe9 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 +#!/bin/bash # Filename: /etc/grml/fai/config/scripts/GRMLBASE/31-motd -# Purpose: make sure the motd setup is correct +# 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 /etc/motd ## END OF FILE ################################################################# # vim:ft=sh expandtab ai tw=80 tabstop=4 shiftwidth=3