def _get_rcvar(name):
    if not available(name):
        log.error('Service {0} not found'.format(name))
        return False

    cmd = '{0} {1} rcvar'.format(_cmd(), name)

    for line in __salt__['cmd.run_stdout'](cmd, python_shell=False).splitlines():
        if '_enable="' not in line:
            continue
        rcvar, _ = line.split('=', 1)
        return rcvar

    return None
Maximum a-posteriori probability (MAP) decoder.
dataset/ETHPy150Open saltstack/salt/salt/modules/freebsdservice.py/_get_rcvar--crossover with--dataset/ETHPy150Open veeresht/CommPy/commpy/channelcoding/turbo.py/map_decode