Return to send_dmesg CVS log | Up to [local] / openbsd / update_openbsd |
File: [local] / openbsd / update_openbsd / send_dmesg (download)
Revision 1.7, Tue Jun 29 20:34:54 2010 UTC (14 years ago) by andrew
output when we send it. |
#!/bin/sh # $AFresh1: send_dmesg,v 1.7 2010/06/29 20:34:54 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 echo Sent dmesg to root