mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2024-12-21 20:08:21 -05:00
fix: setting rcon password for rcon-cli
This commit is contained in:
parent
b6a73df815
commit
fe1c7aaf63
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
RCON_PASSWORD="$(openssl rand -hex 20)"
|
||||
echo "password: $RCON_PASSWORD" >> /root/.rcon-cli.yaml
|
||||
[ ! -f /root/.rcon-cli.yaml ] && echo "password: $RCON_PASSWORD" > /root/.rcon-cli.yaml
|
||||
|
||||
[ ! -f eula.txt ] && echo "eula=true" > eula.txt
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user