#!/bin/bash

value=$(i2cdetect -y -r 2 | awk 'FNR == 8 {print $17}')
if [ "$value" == '--' ]; then
    exit 1
fi