#!/bin/bash
status="NONE"
if [ -f "/home/debian/CONFIG/bbgpio/STATUS" ]; then status=$(cat /home/debian/CONFIG/bbgpio/STATUS); fi
if [ $status == "OFF" ]; then /home/debian/bin/stopag bbgpio; fi

