diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-05 08:12:11 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-08-05 08:12:11 +0000 |
commit | 631396a7a810291c0ccbfa22b1cc6ece31679292 (patch) | |
tree | d9d6b3b4ee8b06ced5fa09adf2f5c527878efcfb | |
parent | ccc92cc9aa804868eb2f684d6a2a27b797526eb0 (diff) |
typo; -eq not -ne
-rw-r--r-- | etc/rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.104 1999/08/05 08:10:06 millert Exp $ +# $OpenBSD: rc,v 1.105 1999/08/05 08:12:10 millert Exp $ # System startup script run by init on autoboot # or after single-user. @@ -302,7 +302,7 @@ if [ ! -f /etc/motd ]; then install -c -o root -g wheel -m 664 /dev/null /etc/motd fi T=`mktemp /tmp/_motd.XXXXXXXXXX` -if [ $? -ne 0 ]; then +if [ $? -eq 0 ]; then sysctl -n kern.version | sed 1q > $T echo "" >> $T sed '1,/^$/d' < /etc/motd >> $T |