summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-06-17 18:50:07 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-06-17 18:50:07 +0000
commitda33e4e9bbd513f01baf8f6a831540a40ccb0407 (patch)
tree44906631d68d263197fd3fcabf9f545961950d8a /daemons
parent419e67db337cd8747471f4b751db9de2b5044ac8 (diff)
*** empty log message ***
Diffstat (limited to 'daemons')
-rw-r--r--daemons/rc.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index d6554b46..84ccaaab 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -65,8 +65,16 @@ echo -n clearing /tmp...
(cd /tmp; find . ! -name . ! -name lost+found ! -name quotas -exec rm -r {} \; )
echo done
-chmod 664 /etc/motd
+echo -n restoring pty permissions...
chmod 666 /dev/tty[pqrs]*
+echo done
+
+echo -n updating /etc/motd...
+echo GNU\'s Not Unix Version `uname --release` > /tmp/newmotd
+egrep -v 'GNU|Version' /etc/motd >> /tmp/t1
+mv /tmp/t1 /etc/motd
+chmod 664 /etc/motd
+echo done
echo -n starting daemons:
/sbin/syslogd; echo -n ' syslogd'