Return to send_dmesg CVS log | Up to [local] / openbsd / update_openbsd |
version 1.1, 2008/11/21 21:54:41 | version 1.5, 2010/01/11 18:58:53 | ||
---|---|---|---|
|
|
||
#!/bin/sh | #!/bin/sh | ||
# $RedRiver$ | # $RedRiver: send_dmesg,v 1.4 2009/12/10 19:35:26 andrew Exp $ | ||
SUBJECT=`sysctl -n hw.vendor` | SUBJECT=`sysctl -n hw.vendor hw.product hw.version 2> /dev/null | xargs` | ||
SUBJECT="${SUBJECT} `sysctl -n hw.product`" | [ -z "$SUBJECT" ] && SUBJECT=unknown | ||
#echo ${SUBJECT} | #echo ${SUBJECT} | ||
dmesg | mail -s "${SUBJECT}" andrew@rraz.net | ( dmesg; sysctl hw.sensors ) | mail -s "dmesg for ${SUBJECT}" root |