Update launch.sh
This commit is contained in:
parent
2305576ab7
commit
dd6a1cc389
1 changed files with 1 additions and 1 deletions
|
|
@ -36,7 +36,7 @@ if [[ -n "$JVM_OPTS" ]]; then
|
||||||
for j in ${JVM_OPTS}; do sed -i '$a\'$j'' user_jvm_args.txt; done
|
for j in ${JVM_OPTS}; do sed -i '$a\'$j'' user_jvm_args.txt; done
|
||||||
fi
|
fi
|
||||||
if [[ -n "$MOTD" ]]; then
|
if [[ -n "$MOTD" ]]; then
|
||||||
sed -i "s/motd\s*=/ c motd=$MOTD" /data/server.properties
|
sed -i "s/^motd=.*/motd=$MOTD/" /data/server.properties
|
||||||
fi
|
fi
|
||||||
if [[ -n "$ENABLE_WHITELIST" ]]; then
|
if [[ -n "$ENABLE_WHITELIST" ]]; then
|
||||||
sed -i "s/white-list=.*/white-list=$ENABLE_WHITELIST/" /data/server.properties
|
sed -i "s/white-list=.*/white-list=$ENABLE_WHITELIST/" /data/server.properties
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue