|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc,v 1.103 1999/08/05 08:04:25 millert Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc,v 1.104 1999/08/05 08:10:06 millert Exp $ |
|
|
|
|
|
|
|
|
# System startup script run by init on autoboot |
|
|
# System startup script run by init on autoboot |
|
|
# or after single-user. |
|
|
# or after single-user. |
|
@ -301,7 +301,7 @@ fi |
|
|
if [ ! -f /etc/motd ]; then |
|
|
if [ ! -f /etc/motd ]; then |
|
|
install -c -o root -g wheel -m 664 /dev/null /etc/motd |
|
|
install -c -o root -g wheel -m 664 /dev/null /etc/motd |
|
|
fi |
|
|
fi |
|
|
T=`mktemp /tmp/_motd.XXXXXX` |
|
|
|
|
|
|
|
|
T=`mktemp /tmp/_motd.XXXXXXXXXX` |
|
|
if [ $? -ne 0 ]; then |
|
|
if [ $? -ne 0 ]; then |
|
|
sysctl -n kern.version | sed 1q > $T |
|
|
sysctl -n kern.version | sed 1q > $T |
|
|
echo "" >> $T |
|
|
echo "" >> $T |
|
|