Current File : //root/patch2304201926.sh.1 |
filechk="/etc/sentora/panel/patch23042019.log"
if [ -f "$filechk" ]
then
echo "Patch 23042019 Already Updated" >> /etc/sentora/panel/patch23042019.log
exit
fi
touch /etc/sentora/panel/patch23042019.log
wget -O releasenotes.txt http://hostingraja.info/Version2.6/releasenotes.txt
chown apache. /etc/sentora/panel/releasenotes.txt
cd /usr/bin/
wget -O mailvalidation.zip http://hostingraja.info/patch/mailvalidation.zip
unzip -o mailvalidation.zip
cd mailvalidation
yes | mv validate_outgoing_emailid.php ../
cd ..
rm -rf mailvalidation
rm -rf mailvalidation.zip
echo "Patch 23042019 Ended here" >> /etc/sentora/panel/patch23042019.log