mirror of
https://github.com/CerberusV1/minecraft_deploy.git
synced 2026-01-13 03:23:42 +01:00
added comment for last add in
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user