From 120d45b0dcd52a7cd1e26556e93e62a178bb4f47 Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Thu, 24 Mar 2016 22:12:41 -0500 Subject: [PATCH] report linux distro if possible --- hipamd/bin/hipconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hipamd/bin/hipconfig b/hipamd/bin/hipconfig index d5f068c097..af85e335a6 100755 --- a/hipamd/bin/hipconfig +++ b/hipamd/bin/hipconfig @@ -116,6 +116,10 @@ if (!$printed or $p_full) { print "== Linux Kernel\n"; system ("uname -a"); + if (-e "/usr/bin/lsb_release") { + system ("/usr/bin/lsb_release -a"); + } + print "\n" ; $printed = 1; }