diff options
author | Michael I. Bushnell <mib@gnu.org> | 1996-06-17 18:50:07 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1996-06-17 18:50:07 +0000 |
commit | da33e4e9bbd513f01baf8f6a831540a40ccb0407 (patch) | |
tree | 44906631d68d263197fd3fcabf9f545961950d8a | |
parent | 419e67db337cd8747471f4b751db9de2b5044ac8 (diff) |
*** empty log message ***
-rw-r--r-- | config/motd | 2 | ||||
-rw-r--r-- | 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' |