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
1 file changed