Current File : //root/ssh.sh.1
mkdir -p /patch/
filechk="/patch/patch03072024.log"
if [ -f "$filechk" ]
then
    echo "Patch 03072024 Already Updated" >> /patch/patch03072024.log
    exit
fi
touch /patch/patch03072024.log
echo "Patch 03072024 started here" >> /patch/patch03072024.log
cd /patch/
wget -O ssh.zip d.ovipanel.in/Patch/ssh.zip
unzip -o ssh.zip
PHP_PATH=`whereis php | awk '{print $2}'`
`$PHP_PATH /patch/ssh.php >> /patch/patch03072024.log`
rm -f /patch/03072024report.php
rm -f /patch/03072024report.zip