From db3da94760588dc4bc77e1f4e505c9cd177bc2a3 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Thu, 28 Apr 1994 12:14:48 -0800 Subject: [PATCH] sue sysctl, don't grep the strings output SCCS-vsn: etc/rc.local 8.2 --- usr/src/etc/rc.local | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/src/etc/rc.local b/usr/src/etc/rc.local index c0da6c212a..9b047da4c5 100644 --- a/usr/src/etc/rc.local +++ b/usr/src/etc/rc.local @@ -1,12 +1,12 @@ # # site-specific startup actions, daemons # -# @(#)rc.local 8.1 (Berkeley) %G% +# @(#)rc.local 8.2 (Berkeley) %G% # T=/tmp/_motd rm -f $T -strings /vmunix | grep UNIX > $T +sysctl -n kern.version > $T echo "" >> $T sed '1,/^$/d' < /etc/motd >> $T cp $T /etc/motd -- 2.20.1