Return to send_dmesg CVS log | Up to [local] / openbsd / update_openbsd |
1.1 andrew 1: #!/bin/sh 1.5 ! andrew 2: # $RedRiver: send_dmesg,v 1.4 2009/12/10 19:35:26 andrew Exp $ 1.1 andrew 3: 1.2 andrew 4: SUBJECT=`sysctl -n hw.vendor hw.product hw.version 2> /dev/null | xargs` 1.5 ! andrew 5: [ -z "$SUBJECT" ] && SUBJECT=unknown 1.1 andrew 6: #echo ${SUBJECT} 1.5 ! andrew 7: ( dmesg; sysctl hw.sensors ) | mail -s "dmesg for ${SUBJECT}" root