„runupdate.sh“ ändern

This commit is contained in:
Yann Mölle 2023-04-19 19:42:19 +02:00
parent cd2be8bdb1
commit a0b9076324

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
# Read the server list from the specified file # Read the server list from the specified file
SERVER_LIST_FILE="/path/to/server_list.txt" SERVER_LIST_FILE="servers.conf"
SERVER_LIST=() SERVER_LIST=()
while IFS= read -r SERVER || [[ -n "$SERVER" ]]; do while IFS= read -r SERVER || [[ -n "$SERVER" ]]; do
SERVER_LIST+=("$SERVER") SERVER_LIST+=("$SERVER")