[BACK]Return to send_dmesg CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

Diff for /openbsd/update_openbsd/send_dmesg between version 1.9 and 1.10

version 1.9, 2012/04/19 05:05:38 version 1.10, 2014/11/08 20:32:08
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $AFresh1: send_dmesg,v 1.8 2010/11/01 02:20:17 andrew Exp $  # $AFresh1: send_dmesg,v 1.9 2012/04/19 04:05:38 andrew Exp $
   
 SUBJECT=`sysctl -n hw.vendor hw.product hw.version 2> /dev/null | xargs`  SUBJECT=`sysctl -n hw.vendor hw.product hw.version 2> /dev/null | xargs`
 tmpfile=`mktemp`  tmpfile=`mktemp`
Line 21 
Line 21 
 md5 -ttt                >> $tmpfile  md5 -ttt                >> $tmpfile
   
 mail -s "dmesg for ${SUBJECT}" root < $tmpfile  mail -s "dmesg for ${SUBJECT}" root < $tmpfile
   cp $tmpfile dmesg.last
 rm -f $tmpfile  rm -f $tmpfile
   
 echo Sent dmesg to root  echo Sent dmesg to root

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>