Add discovery of initial state

Added the method discoverInitialState that will be
used to determine if the obmc-standby.target is
either active or inactive.  This catches the race
condition that could happen if just our app was
restarted and the signal had already been given
and we had missed it.

Change-Id: Iadcdcbd2d1045fa62491e9af6e2402d4b17c4a60
Signed-off-by: Josh D. King <jdking@us.ibm.com>
2 files changed