Luke Childs
5 years ago
2 changed files with 13 additions and 1 deletions
@ -0,0 +1,10 @@ |
|||||
|
#!/bin/bash |
||||
|
cd "${BASH_SOURCE%/*}" || exit |
||||
|
|
||||
|
server_type=$(cat server_type.txt) |
||||
|
|
||||
|
if [[ "${server_type}" = "primary" ]]; then |
||||
|
echo 7776 |
||||
|
elif [[ "${server_type}" = "secondary" ]]; then |
||||
|
echo 7779 |
||||
|
fi |
Loading…
Reference in new issue