xref: /openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/emconfig (revision 78e88402a27ba8e7c04c090c3ba9f32f1777fa52)
1#!/usr/bin/env bash
2#
3# config: 2 20
4# @brief: Save the entity manager configuration
5#
6
7. $DREPORT_INCLUDE/functions
8
9desc="entity-manager configuration"
10file_name="em-system.json"
11
12if [ -e "/var/configuration/system.json" ]; then
13    command="cat /var/configuration/system.json"
14    add_cmd_output "$command" "$file_name" "$desc"
15fi
16