diff options
| author | Jayanth Othayoth <ojayanth@in.ibm.com> | 2017-11-03 06:12:13 -0500 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-11-10 16:26:28 +0000 |
| commit | df4cccfb9cd1112e83b0ffdafb89feb913e7580d (patch) | |
| tree | f636832b19ea06fbb4de12952d478422d487b5a9 | |
| parent | 622272764bb745f26f0afd8a9738f404f6739458 (diff) | |
| download | phosphor-debug-collector-df4cccfb9cd1112e83b0ffdafb89feb913e7580d.tar.gz phosphor-debug-collector-df4cccfb9cd1112e83b0ffdafb89feb913e7580d.zip | |
dreport: Added ip link plugin
Resolves openbmc/openbmc#2537
Change-Id: Id5ce18da3652e39edf3b970a99c75424ed039c35
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
| -rw-r--r-- | tools/dreport.d/plugins.d/iplink | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/dreport.d/plugins.d/iplink b/tools/dreport.d/plugins.d/iplink new file mode 100644 index 0000000..5cc075f --- /dev/null +++ b/tools/dreport.d/plugins.d/iplink @@ -0,0 +1,13 @@ +#!/bin/bash +# +# config: 2 30 +# @brief: Collect ip link information. +# + +. $DREPORT_INCLUDE/functions + +desc="ip link" +file_name="iplink.log" +command="ip link" + +add_cmd_output "$command" "$file_name" "$desc" |

