This commit is contained in:
tuend-work
2025-11-13 11:13:25 +07:00
parent e11958f103
commit 728597f603

View File

@@ -436,18 +436,25 @@ getServices() {
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
echo "Chạy doGetInfo"
doGetInfo doGetInfo
echo "Chạy doSetHostname"
doSetHostname doSetHostname
echo "Chạy createDAbase"
createDAbase createDAbase
echo "Chạy copyStartupScripts"
copyStartupScripts copyStartupScripts
echo "Chạy "
#copyCronFile #moved lower, after custombuild, march 7, 2011 #copyCronFile #moved lower, after custombuild, march 7, 2011
echo "Chạy touchExim"
touchExim touchExim
echo "Chạy ./fstab.sh"
./fstab.sh ./fstab.sh
${DA_SCRIPTS}/cron_deny.sh ${DA_SCRIPTS}/cron_deny.sh
touch /root/.skip_get_license touch /root/.skip_get_license
echo "Chạy getLicense"
getLicense getLicense
echo "Chạy getServices"
getServices getServices
if [ ! -e ${DA_PATH}/custombuild/options.conf ] && [ -e /etc/redhat-release ] && [ ! -e /etc/init.d/xinetd ] && [ -e /usr/bin/yum ]; then if [ ! -e ${DA_PATH}/custombuild/options.conf ] && [ -e /etc/redhat-release ] && [ ! -e /etc/init.d/xinetd ] && [ -e /usr/bin/yum ]; then
@@ -491,22 +498,25 @@ if [ -s ${DA_SCRIPTS}/majordomo.sh ]; then
cd packages cd packages
tar xzf majordomo-*.tar.gz tar xzf majordomo-*.tar.gz
cd .. cd ..
${DA_SCRIPTS}/majordomo.sh #${DA_SCRIPTS}/majordomo.sh
fi fi
echo "Chạy ${DA_SCRIPTS}/sysbk.sh"
${DA_SCRIPTS}/sysbk.sh ${DA_SCRIPTS}/sysbk.sh
echo "Chạy ./build all d"
cd ${DA_PATH}/custombuild cd ${DA_PATH}/custombuild
echo "Bắt đầu build....." echo "Bắt đầu build....."
chmod 755 build chmod 755 build
./build update_script
./build update ./build update
./build all d ./build all d
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
copyCronFile copyCronFile
exit 1 exit 1
fi fi
echo "Chạy copyCronFile"
#moved here march 7, 2011 #moved here march 7, 2011
copyCronFile copyCronFile
@@ -529,10 +539,10 @@ if [ ! -e /usr/local/bin/php ]; then
exit 1 exit 1
fi fi
echo "Chạy ./directadmin i"
cd ${DA_PATH} cd ${DA_PATH}
./directadmin i ./directadmin i
echo "Chạy /directadmin p"
cd ${DA_PATH} cd ${DA_PATH}
./directadmin p ./directadmin p