# functions to check HW state

. /usr/local/etc/telem/hw/usb_interfaces

. /usr/local/bin/telem/motd/usb_ethernet
. /usr/local/bin/telem/motd/gps_status
. /usr/local/bin/telem/motd/rtc_clock
. /usr/local/bin/telem/motd/io_board
. /usr/local/bin/telem/motd/eth0

SerialPortsOk(){
    lsusb | grep 0403:6011 > /dev/null
    if [ $? = 0 ]; then
        echo "OK"
    else
        echo "Not detected"
    fi
}
