Index: motd =================================================================== RCS file: /cvsroot/src/etc/rc.d/motd,v retrieving revision 1.9 diff -u -p -r1.9 motd --- motd 13 Aug 2004 18:08:03 -0000 1.9 +++ motd 15 Jul 2020 15:04:01 -0000 @@ -27,7 +27,8 @@ motd_start() ( umask 022 T=/etc/_motd sysctl -n kern.version | while read i; do echo $i; break; done > $T - sed '1{/^NetBSD.*/{d;};};' < /etc/motd >> $T + sed -n '1{/^NetBSD/{s//Binaries:/;p;};q;}' < /etc/release >> $T + sed -E '1,2{/^(NetBSD|Binaries:)/{d;};};' < /etc/motd >> $T cmp -s $T /etc/motd || cp $T /etc/motd rm -f $T )