projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sue sysctl, don't grep the strings output
[unix-history]
/
usr
/
src
/
etc
/
rc.local
diff --git
a/usr/src/etc/rc.local
b/usr/src/etc/rc.local
index
fe9de4c
..
9b047da
100644
(file)
--- a/
usr/src/etc/rc.local
+++ b/
usr/src/etc/rc.local
@@
-1,12
+1,12
@@
#
# site-specific startup actions, daemons
#
#
# site-specific startup actions, daemons
#
-# @(#)rc.local
5.5
(Berkeley) %G%
+# @(#)rc.local
8.2
(Berkeley) %G%
#
T=/tmp/_motd
rm -f $T
#
T=/tmp/_motd
rm -f $T
-s
trings /vmunix | grep UNIX
> $T
+s
ysctl -n kern.version
> $T
echo "" >> $T
sed '1,/^$/d' < /etc/motd >> $T
cp $T /etc/motd
echo "" >> $T
sed '1,/^$/d' < /etc/motd >> $T
cp $T /etc/motd