added comment for last add in

This commit is contained in:
CerberusV1
2024-10-16 14:33:08 +02:00
parent a9e15e3402
commit 95b8012db3

View File

@@ -37,7 +37,7 @@ while true; do
clear clear
echo " Launch Menu" echo " Launch Menu"
echo "------------------------------------------------------------" echo "------------------------------------------------------------"
read -p "Do you want to start the server? [y/n] " start_answer read -p "Do you want to start the server? [y/n] " start_answer # Promting before actually starting the server
if [[ ${eula_answer} == "y" ]]; then if [[ ${eula_answer} == "y" ]]; then
if [[ -e "${server}/eula.txt" ]]; then # Checks if the EULA file exists if [[ -e "${server}/eula.txt" ]]; then # Checks if the EULA file exists
condition=$(cat "${server}/eula.txt" | grep -c "eula=true") # Sets the condition, in this case counting how many lines with eula=true exist in the EULA file condition=$(cat "${server}/eula.txt" | grep -c "eula=true") # Sets the condition, in this case counting how many lines with eula=true exist in the EULA file