Fix a bug in driving LED during PowerOn and PowerOff

As part of PowerOn, group 'power_on' gets asserted via
a service file that is associated with PowerOn and that
results in driving corresponding physical LEDs.

This works fine for a single PowerOn and does not work if
there is a PowerOff followed by a PowerOn.

Service file had RemainAfterExit set and did not have a stop
condition. This commit puts a Conflicts relationship with
appropriate stop service file and vice versa.

Fixes openbmc/openbmc#1918

Change-Id: Ie0e6b554b3ab7beacd3ad15a0ff76e4d6481f648
Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
2 files changed
tree: 5540ce15f4a505b73d279133f6d56be59d6db9a5
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE