CHips L MINI SHELL

CHips L pro

Current Path : /proc/2/root/usr/src/
Upload File :
Current File : //proc/2/root/usr/src/rvsitebuilderinstall.sh

#!/bin/sh

if [ ! -f /usr/local/rvglobalsoft/rvmanager/rvmanagerversion.txt ];then
   mkdir -p /usr/local/rvglobalsoft/rvmanager
   cd /usr/local/rvglobalsoft/rvmanager
   rm -f rvmanagerauto.tar.bz2
   wget http://download.rvglobalsoft.com/download.php/download/rvmanager-upgrade -O rvmanagerauto.tar.bz2
   tar -jxvf rvmanagerauto.tar.bz2
   chmod 755 /usr/local/rvglobalsoft/rvmanager/auto/autorvmanager.cgi
   /usr/local/rvglobalsoft/rvmanager/auto/autorvmanager.cgi

fi

cd /usr/local/cpanel/whostmgr/docroot/cgi/
rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/
rm -f rvsitebuilderinstaller.tar
wget http://download.rvglobalsoft.com/rvsitebuilderinstaller.tar
tar -xvf rvsitebuilderinstaller.tar
rm -f rvsitebuilderinstaller.tar
chmod 755 /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/appconfig/registerapp
/usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/appconfig/registerapp
perl /usr/local/cpanel/whostmgr/docroot/cgi/rvsitebuilderinstaller/autoinstaller.cgi "$@"

Copyright 2K16 - 2K18 Indonesian Hacker Rulez