mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
exchange-bmc-os-info: Remove dependency on ipmi.service
Resolves ipmitool/ipmitool#46 Most modern systems do not require ipmi.service to load the kernel modules. Checking for /dev/ipmi* would be sufficient. v2: Use Assert in place of Condition to explicitly fail based on AlexanderAmelkin's feedback. Signed-off-by: Charles Rose <charles.rose@dell.com>
This commit is contained in:
parent
95038ba01b
commit
cdd9d51c5f
@ -1,7 +1,8 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Exchange Information between BMC and OS
|
Description=Exchange Information between BMC and OS
|
||||||
After=ipmi.service network.target
|
After=network.target
|
||||||
Requires=ipmi.service
|
AssertFileIsExecutable=/usr/bin/ipmitool
|
||||||
|
AssertPathExistsGlob=/dev/ipmi*
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user