  o Code simplification and refactoring:
    - Disable relay_sys when the relay module is disabled.
      Closes ticket 32245.
