cfam-reset: do not run if host is up

The cfam reset service should not be run in situations where the host is
already running. For example, if the system is booted and the BMC is
rebooted, this service should not run. Utilize the
/run/openbmc/host@%i-on feature to know if the host is running.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I0f7660fd07bdc5c9d4989c612d8660d82982c7a6
diff --git a/op-cfam-reset.service.in b/op-cfam-reset.service.in
index f560bf6..c207887 100644
--- a/op-cfam-reset.service.in
+++ b/op-cfam-reset.service.in
@@ -9,6 +9,7 @@
 Conflicts=obmc-host-stop@0.target
 Conflicts=obmc-chassis-poweroff@0.target
 ConditionPathExists=!/run/openbmc/mpreboot@0
+ConditionPathExists=!/run/openbmc/host@0-on
 
 [Service]
 RemainAfterExit=yes