Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/etc/rc.d pull up 1.3->1.4 changes (approved by thorpej)



details:   https://anonhg.NetBSD.org/src/rev/a1dfb10beb1c
branches:  netbsd-1-5
changeset: 488840:a1dfb10beb1c
user:      chuck <chuck%NetBSD.org@localhost>
date:      Tue Aug 01 13:42:25 2000 +0000

description:
pull up 1.3->1.4 changes (approved by thorpej)

diffstat:

 etc/rc.d/motd |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r 58f5c0c3529b -r a1dfb10beb1c etc/rc.d/motd
--- a/etc/rc.d/motd     Tue Aug 01 13:40:11 2000 +0000
+++ b/etc/rc.d/motd     Tue Aug 01 13:42:25 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: motd,v 1.2 2000/05/13 08:45:07 lukem Exp $
+# $NetBSD: motd,v 1.2.4.1 2000/08/01 13:42:25 chuck Exp $
 #
 
 # PROVIDE: motd
@@ -26,8 +26,7 @@
        T=/etc/_motd
        rm -f $T
        sysctl -n kern.version | sed 1q > $T
-       echo "" >> $T
-       sed '1,/^$/d' < /etc/motd >> $T
+       sed '1{/^NetBSD.*/{d;};};' < /etc/motd >> $T
        cmp -s $T /etc/motd || cp $T /etc/motd
        rm -f $T
 }



Home | Main Index | Thread Index | Old Index