#!/bin/sh

# bit 6 defines which of the two slots controller resides

if [ $(($(cat /proc/moose/cpld/slot_info) & 0x40)) -eq $((0x40)) ]; then
    echo B
else
    echo A
fi