Deepak Kamat | 07aa6b6 | 2025-03-25 17:24:28 +0530 | [diff] [blame] | 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 | |||||
10 | desc="Kernel command line parameters" | ||||
11 | file_name="kernalcmdline.log" | ||||
12 | command="cat /proc/cmdline" | ||||
13 | |||||
14 | add_cmd_output "$command" "$file_name" "$desc" |