feat: new config file format and features

This commit is contained in:
bot-ece477 2026-03-17 18:58:05 +08:00
parent bc85a9a77a
commit 5e8a2ae862

View File

@ -43,22 +43,16 @@ software_install() {
echo "Installing $COURSE software"
apt-get update && apt-get upgrade -y
apt-get install -y $PACKAGES && apt-get clean
apt-get update && apt-get upgrade -y
apt-get install -y $PACKAGES && apt-get clean
}
custom_commands() {
for((i=0; i<${#COMMANDS[@]}; i++)); do
eval ${COMMANDS[i]};
done
}
net_wait
import_config
software_install
services_restart
custom_commands
software_install
exit 0