<def-group>
  <!-- THIS FILE IS GENERATED by create_services_disabled.py.  DO NOT EDIT.  -->
  <definition class="compliance" id="service_atd_disabled"
  version="1">
    <metadata>
      <title>Service atd Disabled</title>
      <affected family="unix">
        <platform>Red Hat Enterprise Linux 6</platform>
      </affected>
      <description>The atd service should be disabled if possible.</description>
    </metadata>
   <criteria comment="package at removed or service atd is not configured to start" operator="OR">
    <extend_definition comment="at removed" definition_ref="package_at_removed" />
    <criteria operator="AND" comment="service atd is not configured to start">
      <criterion comment="atd runlevel 0" test_ref="test_runlevel0_atd" />
      <criterion comment="atd runlevel 1" test_ref="test_runlevel1_atd" />
      <criterion comment="atd runlevel 2" test_ref="test_runlevel2_atd" />
      <criterion comment="atd runlevel 3" test_ref="test_runlevel3_atd" />
      <criterion comment="atd runlevel 4" test_ref="test_runlevel4_atd" />
      <criterion comment="atd runlevel 5" test_ref="test_runlevel5_atd" />
      <criterion comment="atd runlevel 6" test_ref="test_runlevel6_atd" />
    </criteria>
    </criteria>
  </definition>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel0_atd"
  version="2">
    <unix:object object_ref="obj_runlevel0_atd" />
    <unix:state state_ref="state_service_atd_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel1_atd"
  version="2">
    <unix:object object_ref="obj_runlevel1_atd" />
    <unix:state state_ref="state_service_atd_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel2_atd"
  version="2">
    <unix:object object_ref="obj_runlevel2_atd" />
    <unix:state state_ref="state_service_atd_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel3_atd"
  version="2">
    <unix:object object_ref="obj_runlevel3_atd" />
    <unix:state state_ref="state_service_atd_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel4_atd"
  version="2">
    <unix:object object_ref="obj_runlevel4_atd" />
    <unix:state state_ref="state_service_atd_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel5_atd"
  version="2">
    <unix:object object_ref="obj_runlevel5_atd" />
    <unix:state state_ref="state_service_atd_off" />
  </unix:runlevel_test>
  <unix:runlevel_test check="all" check_existence="any_exist"
  comment="Runlevel test" id="test_runlevel6_atd"
  version="2">
    <unix:object object_ref="obj_runlevel6_atd" />
    <unix:state state_ref="state_service_atd_off" />
  </unix:runlevel_test>
  <unix:runlevel_object id="obj_runlevel0_atd" version="1">
    <unix:service_name>atd</unix:service_name>
    <unix:runlevel operation="equals">0</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel1_atd" version="1">
    <unix:service_name>atd</unix:service_name>
    <unix:runlevel operation="equals">1</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel2_atd" version="1">
    <unix:service_name>atd</unix:service_name>
    <unix:runlevel operation="equals">2</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel3_atd" version="1">
    <unix:service_name>atd</unix:service_name>
    <unix:runlevel operation="equals">3</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel4_atd" version="1">
    <unix:service_name>atd</unix:service_name>
    <unix:runlevel operation="equals">4</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel5_atd" version="1">
    <unix:service_name>atd</unix:service_name>
    <unix:runlevel operation="equals">5</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_object id="obj_runlevel6_atd" version="1">
    <unix:service_name>atd</unix:service_name>
    <unix:runlevel operation="equals">6</unix:runlevel>
  </unix:runlevel_object>
  <unix:runlevel_state comment="not configured to start" id="state_service_atd_off" version="1">
    <unix:start datatype="boolean">false</unix:start>
    <unix:kill datatype="boolean">true</unix:kill>
  </unix:runlevel_state>
</def-group>
