Add Fan control dump log in FFDC
Change-Id: If3c600d8e8f054ab1f36d3e7b866e76b9067c04a
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/openbmc_ffdc_list.py b/lib/openbmc_ffdc_list.py
index 540b744..705c6cb 100755
--- a/lib/openbmc_ffdc_list.py
+++ b/lib/openbmc_ffdc_list.py
@@ -70,6 +70,7 @@
'bmcweb_persistent_data.json': 'cat /home/root/bmcweb_persistent_data.json'
+ ' > /tmp/bmcweb_persistent_data.json',
'GUARD_list.txt': 'guard -l > /tmp/GUARD_list.txt 2>&1',
+ 'fan_control_dump.json': 'fanctl dump 2>&1',
},
}
# Add file name and corresponding command needed for all Linux distributions