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
BSD 4_3_Net_2 release
[unix-history]
/
usr
/
src
/
etc
/
rc.local
diff --git
a/usr/src/etc/rc.local
b/usr/src/etc/rc.local
index
bf15a9f
..
1361b7d
100644
(file)
--- a/
usr/src/etc/rc.local
+++ b/
usr/src/etc/rc.local
@@
-1,13
+1,17
@@
#
# site-specific startup actions, daemons
#
#
# site-specific startup actions, daemons
#
-# @(#)rc.local 5.
3 (Berkeley) 6/30
/90
+# @(#)rc.local 5.
4 (Berkeley) 12/14
/90
#
#
-strings /vmunix | grep UNIX >/tmp/t1
-tail +2 /etc/motd >>/tmp/t1
-mv /tmp/t1 /etc/motd
+T=/tmp/_motd
+rm -f $T
+strings /vmunix | grep UNIX > $T
+echo "" >> $T
+sed '1,/^$/d' < /etc/motd >> $T
+cp $T /etc/motd
chmod 666 /etc/motd
chmod 666 /etc/motd
+rm -f $T
echo -n 'starting local daemons:'
echo -n 'starting local daemons:'