From 5a8e3ce9f24a783506310723392fdabfc2fc07a8 Mon Sep 17 00:00:00 2001 From: Uncle Stretch Date: Wed, 16 Oct 2024 21:59:00 +0300 Subject: [PATCH] fixed bug with GHOST_CLI_ARGS Signed-off-by: Uncle Stretch --- scripts/starter.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/starter.sh b/scripts/starter.sh index a0d7f19..040b9ab 100755 --- a/scripts/starter.sh +++ b/scripts/starter.sh @@ -366,7 +366,8 @@ if [[ $ARGUMENTS = true ]]; then CLI_ARGS+=("--no-mdns") CLI_ARGS+=("--no-hardware-benchmarks") - echo "[+] trying to save GHOST_CLI_ARGS=\"$(IFS=' '; echo "${CLI_ARGS[*]}")\"" > /tmp/ghost + echo "[+] trying to save new node arguments" + echo "GHOST_CLI_ARGS=\"$(IFS=' '; echo "${CLI_ARGS[*]}")\"" > /tmp/ghost sudo cp /tmp/ghost /etc/default/ghost rm /tmp/ghost echo "[+] new CLI arguments stored in '/etc/default/ghost'"