forked from ghostchain/ghost-node
fixed bug with GHOST_CLI_ARGS
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
6a60c5a472
commit
5a8e3ce9f2
@ -366,7 +366,8 @@ if [[ $ARGUMENTS = true ]]; then
|
|||||||
CLI_ARGS+=("--no-mdns")
|
CLI_ARGS+=("--no-mdns")
|
||||||
CLI_ARGS+=("--no-hardware-benchmarks")
|
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
|
sudo cp /tmp/ghost /etc/default/ghost
|
||||||
rm /tmp/ghost
|
rm /tmp/ghost
|
||||||
echo "[+] new CLI arguments stored in '/etc/default/ghost'"
|
echo "[+] new CLI arguments stored in '/etc/default/ghost'"
|
||||||
|
Loading…
Reference in New Issue
Block a user