Return to send_dmesg CVS log | Up to [local] / openbsd / update_openbsd |
version 1.2, 2009/02/17 20:06:34 | version 1.4, 2009/12/10 19:35:26 | ||
---|---|---|---|
|
|
||
#!/bin/sh | #!/bin/sh | ||
# $RedRiver: send_dmesg,v 1.1 2008/11/21 21:54:41 andrew Exp $ | # $RedRiver: send_dmesg,v 1.3 2009/10/29 23:33:15 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` | ||
#echo ${SUBJECT} | #echo ${SUBJECT} | ||
dmesg | mail -s "${SUBJECT}" andrew@rraz.net | ( dmesg; sysctl hw.sensors ) | mail -s "${SUBJECT}" root |