#!/bin/bash
# CP_UPDATE_TYPE should be LTS, STABLE, RELEASE, CURRENT, or EDGE
# other than that we should warning tech
CP_UPDATE_TYPE=$(cat /etc/cpupdate.conf | grep CPANEL | awk -F '=' '{ print $2 }')
echo $CP_UPDATE_TYPE
# if [[ $CP_UPDATE_TYPE =~ ^[0-9.]+$ ]]
# then
# # in this case, we need to alert tech support
# echo 1
# else
# echo 0
# fi