def get_sysv_script(name):
    """
    This function will return the expected path for an init script
    corresponding to the service name supplied.

    :arg name: name or path of the service to test for
    """
    if name.startswith('/'):
        result = name
    else:
        result = '/etc/init.d/%s' % name
    return result
