=================================================================== RCS file: /cvs/openbsd/update_openbsd/send_dmesg,v retrieving revision 1.2 retrieving revision 1.5 diff -u -r1.2 -r1.5 --- openbsd/update_openbsd/send_dmesg 2009/02/17 20:06:34 1.2 +++ openbsd/update_openbsd/send_dmesg 2010/01/11 18:58:53 1.5 @@ -1,6 +1,7 @@ #!/bin/sh -# $RedRiver: send_dmesg,v 1.1 2008/11/21 21:54:41 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` +[ -z "$SUBJECT" ] && SUBJECT=unknown #echo ${SUBJECT} -dmesg | mail -s "${SUBJECT}" andrew@rraz.net +( dmesg; sysctl hw.sensors ) | mail -s "dmesg for ${SUBJECT}" root