#!/bin/sh

> /usr/lib/enigma2/python/Plugins/Extensions/AFNKeyUpdater/scripts/Your-Softcam-Key-Location
find /usr /var/ /etc -iname Softcam.key > /usr/lib/enigma2/python/Plugins/Extensions/AFNKeyUpdater/scripts/Your-Softcam-Key-Location
        echo
        echo "I'am looking for your SoftCam.Key file/s hold on a sec"
        echo

if [ -s /usr/lib/enigma2/python/Plugins/Extensions/AFNKeyUpdater/scripts/Your-Softcam-Key-Location ]
then
        echo
        echo "Found SoftCam.Key file/s in the following location/s ;)"
        echo
        cat /usr/lib/enigma2/python/Plugins/Extensions/AFNKeyUpdater/scripts/Your-Softcam-Key-Location
	echo
else
        echo
        echo "I can't find your SoftCam.Key file have you got one ????"
        echo
fi
