Return to send_dmesg CVS log | Up to [local] / openbsd / update_openbsd |
File: [local] / openbsd / update_openbsd / send_dmesg (download)
Revision 1.5, Mon Jan 11 18:58:53 2010 UTC (14 years, 8 months ago) by andrew
Better subject, just incase I want to filter later |
#!/bin/sh # $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; sysctl hw.sensors ) | mail -s "dmesg for ${SUBJECT}" root