„runupdate.sh“ ändern

This commit is contained in:
Yann Mölle 2023-04-19 19:39:43 +02:00
parent 9d2c7542fc
commit cd2be8bdb1

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="servers.conf" SERVER_LIST_FILE="/path/to/server_list.txt"
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")