Date: Wed, 23 Oct 1996 14:16:43 +0200 From: Wolfram Schneider <wosch@cs.tu-berlin.de> To: "Marc G. Fournier" <scrappy@freefall.freebsd.org> Cc: kelly@fsl.noaa.gov, freebsd-bugs@freefall.freebsd.org Subject: Re: conf/1382 Message-ID: <199610231216.OAA01246@campa.panke.de> In-Reply-To: <199610230438.VAA04743@freefall.freebsd.org> References: <199610230438.VAA04743@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Marc G. Fournier writes: >Synopsis: FreeBSD has minor year 2000 problem in distr /etc/rc.local Index: src/etc/rc.local =================================================================== RCS file: /usr/cvs/src/etc/rc.local,v retrieving revision 1.20 diff -u -r1.20 rc.local --- 1.20 1996/08/17 07:15:38 +++ rc.local 1996/10/23 12:15:15 @@ -6,7 +6,7 @@ T=/tmp/_motd rm -f $T -uname -v | sed -e 's,^\([^#]*\) #\(.*199[0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T +uname -v | sed -e 's,^\([^#]*\) #\(.* [1-2][0-9][0-9][0-9]\).*/\([^\]*\) $,\1 (\3) #\2,' > $T awk '{if (NR == 1) {if ($1 == "FreeBSD") {next} else {print "\n"$0}} else {print}}' < /etc/motd >> $T cp $T /etc/motd chmod 644 /etc/motd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610231216.OAA01246>