#!/bin/bash

DRIVER_PATH=/linuxcash/cash/conf/drivers

pkill -9 EthOverUsb
SEARCH_RESULT=`find $DRIVER_PATH -regex .*FiscalRegister_.*.xml | grep Atol`
if [ -n "$SEARCH_RESULT" ] ; then
    /bin/bash /opt/Atol/EthernetOverUsb/EthOverUsb.sh
fi