#!/bin/sh

packPath="${PACKAGE_PATH}"/Contents/Resources/FindDeviceTool""
#echo $packPath
"$packPath"
isDevice="$?"
echo $isDevice

if [ $isDevice -eq "1" ]
then
	echo has a device
   exit 114
fi

versionCheckPath="${PACKAGE_PATH}"/Contents/Resources/VersionCheck""
"$versionCheckPath"
versionCheckValue=$?
echo $versionCheckValue
exit $versionCheckValue