xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/kernlcmdline (revision 07aa6b6c772c79e4aa2a7bc37c5162ce5de01a7e)
1#!/bin/bash
2#
3# config: 2 30
4# @brief: Collect kernal command line  parameter.
5#
6
7# shellcheck source=/dev/null
8. "$DREPORT_INCLUDE"/functions
9
10desc="Kernel command line parameters"
11file_name="kernalcmdline.log"
12command="cat /proc/cmdline"
13
14add_cmd_output "$command" "$file_name" "$desc"
15