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

