diff --git a/admin/scripts/joj-container-config b/admin/scripts/joj-container-config index 7688092..118d54b 100755 --- a/admin/scripts/joj-container-config +++ b/admin/scripts/joj-container-config @@ -43,16 +43,22 @@ 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 -services_restart - software_install +services_restart +custom_commands exit 0