=================================================================== RCS file: /cvs/openbsd/update_openbsd/post_dmesg_to_nycbug,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- openbsd/update_openbsd/post_dmesg_to_nycbug 2015/02/23 16:12:27 1.4 +++ openbsd/update_openbsd/post_dmesg_to_nycbug 2015/03/03 18:56:08 1.5 @@ -3,10 +3,14 @@ use warnings; use feature 'say'; +use Sys::Hostname; use HTTP::Tiny; # This script posts your OpenBSD dmesg to the NYC*BUG dmesg archive. +my $nickname = "$ENV{USER}"; +my $email = "$ENV{USER}\@" . hostname(); + my @sysctls = ( [qw( hw.vendor hw.product hw.version )], [qw( hw.model )], @@ -37,8 +41,8 @@ 'http://www.nycbug.org/index.cgi', { action => 'dmesgd', do => 'addd', - nickname => 'afresh1', - email => 'andrew+dmesgd@afresh1.com', + nickname => $nickname, + email => $email, description => $description, dmesg => $dmesg, }