diff options
author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-10-15 06:04:04 -0500 |
---|---|---|
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-10-24 10:12:08 -0500 |
commit | 64d6d6a52094f29a23734f78587f8c28a35e3b8a (patch) | |
tree | d15b77902c4ea80f9d9a47ade592fca0df646eaa /tools/dreport.d | |
parent | 9586a391533505c310a60bb8c7f98cf6126a5c8a (diff) | |
download | phosphor-debug-collector-64d6d6a52094f29a23734f78587f8c28a35e3b8a.tar.gz phosphor-debug-collector-64d6d6a52094f29a23734f78587f8c28a35e3b8a.zip |
dreport: Added osrelease plugin
Plugin used for collecting OS release information.
Change-Id: I27fcc47f3a0a1d44aa07001ec61f43d6bf523bf0
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Diffstat (limited to 'tools/dreport.d')
-rw-r--r-- | tools/dreport.d/plugins.d/osrelease | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/dreport.d/plugins.d/osrelease b/tools/dreport.d/plugins.d/osrelease new file mode 100644 index 0000000..550366e --- /dev/null +++ b/tools/dreport.d/plugins.d/osrelease @@ -0,0 +1,12 @@ +#!/bin/bash +# +# config: 123 1 +# @brief: Collect OS release information. +# + +. $DREPORT_INCLUDE/functions + +desc="OS release info" +file_name="/etc/os-release" + +add_copy_file "$file_name" "$desc" |