commit | 5b520cf494ad65be2d336f60ee622efc456c2e3f | [log] [tgz] |
---|---|---|
author | Anton D. Kachalov <gmouse@google.com> | Wed Feb 03 23:19:39 2021 +0100 |
committer | Anton D. Kachalov <rnouse@google.com> | Thu May 06 22:03:58 2021 +0000 |
tree | 2828b02f8ba112dd094550fe5371a7cff98b2706 | |
parent | bb25973aff4ef20651ed73381380a2e9d44dafdf [diff] [blame] |
Install service unit files, busconfig and udev rules from the package. This change required as a part of privilege separation work: https://github.com/openbmc/openbmc/issues/3383 The dependant change in openbmc repo: https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/40359 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I89aec71b446e0b7be40a10e1cd94ea16d891a277
diff --git a/70-hwmon.rules b/70-hwmon.rules new file mode 100644 index 0000000..503b2d0 --- /dev/null +++ b/70-hwmon.rules
@@ -0,0 +1,2 @@ +SUBSYSTEM=="hwmon", ACTION=="add", RUN="/usr/bin/start_hwmon.sh start %p %E{OF_FULLNAME}" +SUBSYSTEM=="hwmon", ACTION=="remove", RUN="/usr/bin/start_hwmon.sh stop %p %E{OF_FULLNAME}"