[sr-dev] git:master:1d2b4d5e: core: relocate core rpc, cfg locks and shutdown var initialization