[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.4 and 1.5

version 1.4, 2009/12/10 19:35:26 version 1.5, 2010/01/11 18:58:53
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: send_dmesg,v 1.3 2009/10/29 23:33:15 andrew Exp $  # $RedRiver: send_dmesg,v 1.4 2009/12/10 19:35:26 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`
   [ -z "$SUBJECT" ] && SUBJECT=unknown
 #echo ${SUBJECT}  #echo ${SUBJECT}
 ( dmesg; sysctl hw.sensors )  | mail -s "${SUBJECT}" root  ( dmesg; sysctl hw.sensors )  | mail -s "dmesg for ${SUBJECT}" root

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

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