#!/bin/sh
#
# CleanEPGStore Plugin by maxodil
#    for octagon-forum.com
#
if  ! grep -q CleanEPG /var/bin/autorun.sh
then
  echo "Deleting EPG storage on all devices."
  rm -f /STORAGE/*/epg.txt
  sleep 2
  echo "Rebooting ..."
  reboot -f
else
   echo "ERROR: Plugin must not set to autostart."
   echo "Exiting."
fi
