[BACK]Return to send_dmesg CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

Annotation of openbsd/update_openbsd/send_dmesg, Revision 1.8

1.1       andrew      1: #!/bin/sh
1.8     ! andrew      2: # $AFresh1: send_dmesg,v 1.7 2010/06/29 20:34:54 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.8     ! andrew      7: ( cat /var/run/dmesg.boot; sysctl hw.sensors )  | mail -s "dmesg for ${SUBJECT}" root
1.7       andrew      8:
                      9: echo Sent dmesg to root

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>