This commit is contained in:
tuend-work
2025-11-13 10:29:12 +07:00
parent 18736081c6
commit 260d0c33db
13 changed files with 295 additions and 3 deletions

View File

@@ -459,17 +459,24 @@ getServices() {
if [ $? -ne 0 ]; then
exit 1
fi
echo "Chạy doGetInfo"
doGetInfo
echo "Chạy doSetHostname"
doSetHostname
echo "Chạy createDAbase"
createDAbase
echo "Chạy copyStartupScripts"
copyStartupScripts
echo "Chạy touchExim"
#copyCronFile #moved lower, after custombuild, march 7, 2011
touchExim
echo "Chạy ./fstab.sh"
./fstab.sh
echo "Chạy ${DA_SCRIPTS}/cron_deny.sh"
${DA_SCRIPTS}/cron_deny.sh
echo "Chạy getLicense"
getLicense
#getServices
@@ -529,9 +536,10 @@ if [ -s ${DA_SCRIPTS}/majordomo.sh ]; then
cd packages
tar xzf majordomo-*.tar.gz
cd ..
${DA_SCRIPTS}/majordomo.sh
#${DA_SCRIPTS}/majordomo.sh
fi
echo "Chạy ${DA_SCRIPTS}/sysbk.sh"
${DA_SCRIPTS}/sysbk.sh
#ncftp not needed anymore by default: https://www.directadmin.com/features.php?id=2488
#if [ ! -e "/usr/bin/ncftpput" ]; then
@@ -558,7 +566,9 @@ if [ $? -ne 0 ]; then
fi
tar xzf custombuild.tar.gz
cd custombuild
echo "Chạy ./build update_script"
chmod 755 build
./build update_script
./build update
./build all d
if [ $? -ne 0 ]; then