From e81d34b7406452f8bc3585cf19160f92f4f351d8 Mon Sep 17 00:00:00 2001 From: W3LFARe Date: Thu, 9 Jan 2025 23:29:34 -0500 Subject: [PATCH] Update launch.sh - MOTD --- launch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch.sh b/launch.sh index 9d61c7b..5aa86c5 100644 --- a/launch.sh +++ b/launch.sh @@ -36,7 +36,7 @@ if [[ -n "$JVM_OPTS" ]]; then for j in ${JVM_OPTS}; do sed -i '$a\'$j'' user_jvm_args.txt; done fi 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 if [[ -n "$ENABLE_WHITELIST" ]]; then sed -i "s/white-list=.*/white-list=$ENABLE_WHITELIST/" /data/server.properties