a
This commit is contained in:
@@ -401,7 +401,7 @@ getServices() {
|
||||
servfile=`cat ./setup.txt | grep services= | cut -d= -f2`;
|
||||
|
||||
#get the md5sum
|
||||
wget https://raw.githubusercontent.com/irf1404/Directadmin/master/services/${servfile}.md5 -O ${SERVICES_FILE}.md5
|
||||
wget https://git.wpcloud.vn/tuend/DirectAdmin-1.62.4/raw/branch/main/services/${servfile}.md5 -O ${SERVICES_FILE}.md5
|
||||
if [ ! -s ${SERVICES_FILE}.md5 ];
|
||||
then
|
||||
echo "";
|
||||
@@ -410,7 +410,7 @@ getServices() {
|
||||
sleep 4;
|
||||
fi
|
||||
|
||||
wget https://raw.githubusercontent.com/irf1404/Directadmin/master/services/${servfile} -O $SERVICES_FILE
|
||||
wget https://git.wpcloud.vn/tuend/DirectAdmin-1.62.4/raw/branch/main/services/${servfile} -O $SERVICES_FILE
|
||||
if [ $? -ne 0 ]
|
||||
then
|
||||
echo "Error downloading the services file";
|
||||
@@ -454,7 +454,10 @@ ${DA_SCRIPTS}/cron_deny.sh
|
||||
touch /root/.skip_get_license
|
||||
echo "Chạy getLicense"
|
||||
getLicense
|
||||
|
||||
echo "-------------------------------------------------------------"
|
||||
echo "Chạy getServices"
|
||||
echo "-------------------------------------------------------------"
|
||||
getServices
|
||||
|
||||
if [ ! -e ${DA_PATH}/custombuild/options.conf ] && [ -e /etc/redhat-release ] && [ ! -e /etc/init.d/xinetd ] && [ -e /usr/bin/yum ]; then
|
||||
@@ -507,7 +510,11 @@ ${DA_SCRIPTS}/sysbk.sh
|
||||
|
||||
echo "Chạy ./build all d"
|
||||
cd ${DA_PATH}/custombuild
|
||||
echo "Bắt đầu build....."
|
||||
|
||||
echo "-------------------------------------------------------------"
|
||||
echo "Bắt đầu build..... "
|
||||
echo "-------------------------------------------------------------"
|
||||
|
||||
chmod 755 build
|
||||
./build update_script
|
||||
./build update
|
||||
|
||||
Reference in New Issue
Block a user