Return to send_dmesg CVS log | Up to [local] / openbsd / update_openbsd |
File: [local] / openbsd / update_openbsd / send_dmesg (download)
Revision 1.2, Tue Feb 17 20:06:34 2009 UTC (15 years, 4 months ago) by andrew
use xargs to get rid of newlines in $SUBJECT also get hw.version because it is on the LP2000r |
#!/bin/sh # $RedRiver: send_dmesg,v 1.1 2008/11/21 21:54:41 andrew Exp $ SUBJECT=`sysctl -n hw.vendor hw.product hw.version 2> /dev/null | xargs` #echo ${SUBJECT} dmesg | mail -s "${SUBJECT}" andrew@rraz.net