[BACK]Return to motd CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc.d/motd between version 1.3 and 1.4

version 1.3, 2000/07/26 00:11:49 version 1.4, 2000/07/31 00:17:05
Line 26  motd_start()
Line 26  motd_start()
         T=/etc/_motd          T=/etc/_motd
         rm -f $T          rm -f $T
         sysctl -n kern.version | sed 1q > $T          sysctl -n kern.version | sed 1q > $T
         echo "" >> $T          sed '1{/^NetBSD.*/{d;};};' < /etc/motd >> $T
         sed '1,/^$/d' < /etc/motd >> $T  
         cmp -s $T /etc/motd || cp $T /etc/motd          cmp -s $T /etc/motd || cp $T /etc/motd
         rm -f $T          rm -f $T
 }  }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>