mirror of
https://github.com/CyberL1/Minecraft-Realms-Emulator.git
synced 2024-11-21 21:58: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
|
#!/bin/sh
|
||||||
|
|
||||||
RCON_PASSWORD="$(openssl rand -hex 20)"
|
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
|
[ ! -f eula.txt ] && echo "eula=true" > eula.txt
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user