From da33e4e9bbd513f01baf8f6a831540a40ccb0407 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 17 Jun 1996 18:50:07 +0000 Subject: *** empty log message *** --- config/motd | 2 +- daemons/rc.sh | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/config/motd b/config/motd index 016ecafe..80206015 100644 --- a/config/motd +++ b/config/motd @@ -1,2 +1,2 @@ -# Leave this line here; line 1 gets replaced automatically by /etc/rc. +# Leave this line alone; /etc/rc looks for it. GNU Version This is the Hurd. Welcome. 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' -- cgit v1.2.3