[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.1 and 1.7

version 1.1, 2008/11/21 21:54:41 version 1.7, 2010/06/29 21:34:54
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver$  # $AFresh1: send_dmesg,v 1.6 2010/02/10 20:57:07 andrew Exp $
   
 SUBJECT=`sysctl -n hw.vendor`  SUBJECT=`sysctl -n hw.vendor hw.product hw.version 2> /dev/null | xargs`
 SUBJECT="${SUBJECT} `sysctl -n hw.product`"  [ -z "$SUBJECT" ] && SUBJECT=unknown
 #echo ${SUBJECT}  #echo ${SUBJECT}
 dmesg | mail -s "${SUBJECT}" andrew@rraz.net  ( dmesg; sysctl hw.sensors )  | mail -s "dmesg for ${SUBJECT}" root
   
   echo Sent dmesg to root

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.7

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