From d6e206e8c0a28305028996f68c59ff8f016d9e14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lobo=20Metal=C3=BArgico?= <43734867+LoboMetalurgico@users.noreply.github.com> Date: Sat, 11 Mar 2023 20:24:36 -0300 Subject: [PATCH] (fix): missing /bin/bash on start script --- server_files/startserver.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server_files/startserver.sh b/server_files/startserver.sh index 92bf6cb7..dc42aaf1 100644 --- a/server_files/startserver.sh +++ b/server_files/startserver.sh @@ -1,4 +1,6 @@ -DO_RAMDISK=0 +#!/bin/bash + +DO_RAMDISK=0 if [[ $(cat server-setup-config.yaml | grep 'ramDisk:' | awk 'BEGIN {FS=":"}{print $2}') =~ "yes" ]]; then SAVE_DIR=$(cat server.properties | grep 'level-name' | awk 'BEGIN {FS="="}{print $2}') mv $SAVE_DIR "${SAVE_DIR}_backup"