Compare commits

...

1 Commits

Author SHA1 Message Date
5a8e3ce9f2
fixed bug with GHOST_CLI_ARGS
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
2024-10-16 21:59:00 +03:00

View File

@ -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'"