Skip to content

Commit

Permalink
fcopy motd instead of relying on grml-etc plus weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Hofstaedtler authored and mika committed Nov 24, 2010
1 parent 535a90f commit 1455f91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions etc/grml/fai/config/files/etc/motd/GRMLBASE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
grml - Linux for geeks

6 changes: 2 additions & 4 deletions etc/grml/fai/config/scripts/GRMLBASE/31-motd
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/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 <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2 or any later version.
Expand All @@ -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

0 comments on commit 1455f91

Please sign in to comment.