Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use environment as substitute for product id sysinfo value
When mce is started normally via systemd, at least N9 and N950 can be detected from product_name environment variable. This information is needed when setting up indication led/keyboard backlight functionality. To ease running mce manually for debugging purposes, the environment values from /proc/1/environ are used as secondary source of information.
- Loading branch information
Showing
1 changed file
with
81 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters