#!/bin/bash

# the poweroff detect GPIO is GPIO1_A3
BINFILE="/opt/lnxall_app/bin/gpio_powerchk"

if [ -x "$BINFILE" ] ; then
	exec /opt/lnxall_app/bin/gpio_powerchk 35 49 6
fi
sleep 600
