From 8c0aac9163402f1cf3132b1097289b99475bc2f3 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Thu, 30 Mar 1995 06:34:46 +0000 Subject: [PATCH] Make the creation of the header line in /etc/motd be consistent with other BSD based systems. Submitted by: wollman --- etc/rc.local | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/etc/rc.local b/etc/rc.local index 140e8631e90a..84c53c389655 100644 --- a/etc/rc.local +++ b/etc/rc.local @@ -1,13 +1,12 @@ # # site-specific startup actions, daemons # -# $Id: rc.local,v 1.17 1995/03/30 00:10:31 ache Exp $ +# $Id: rc.local,v 1.18 1995/03/30 06:26:10 rgrimes Exp $ # T=/tmp/_motd rm -f $T -uname -v | sed -e 's/199[0-9]/&\ -/' > $T +uname -v | sed -e 's,^\([^#]*\) #\(.*199[0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T echo "" >> $T sed '1,/^$/d' < /etc/motd >> $T cp $T /etc/motd