Add wait for network and update rcdstock

There was a case when Apcupsd would fail trying to install powerdown.