Revert "Factory Reset: Wait for env variables"

This reverts commit 60f5ccfd5ab0fc8cedc3a2bf5f5adcab77318b7d.

There's no need to sleep in order to wait for the systemd
service file to hopefully finish. The factory reset helper
functions now executes in a child process and are waited on.

Tested: Added debug log messages to verify that the reset
        function returned until the environment variable
        was set.

Change-Id: I22a137c9440c9e971d9606c5efca3fc14d44c3eb
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed