Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw-mgmt: scripts: Fix init error fox SimX paltform
Fix SKU/platform reading if it's not exists. This can be when running on SimX platform. log messages example before fix: /usr/bin/hw-management.sh: line 61: /sys/devices/virtual/dmi/id/board_name: No such file or directory /usr/bin/hw-management.sh: line 62: /sys/devices/virtual/dmi/id/product_sku: No such file or directory /usr/bin/hw-management-helpers.sh: line 325: /var/run/hw-management/events/: Is a directory Signed-off-by: Oleksandr Shamray <oleksandrs@nvidia.com>
- Loading branch information