clean up demo bash scripts

* allow other level of RUST logging
 * avoid "echo" in favor of printf (builtin)
 * single quotes for literals, double quotes for variables
This commit is contained in:
Rob Walker
2018-06-14 17:11:55 -07:00
committed by Greg Fitzgerald
parent 9b202c6e1e
commit d30670e92e
3 changed files with 21 additions and 21 deletions

View File

@@ -1,4 +1,7 @@
#!/bin/bash
export RUST_LOG=solana=info
# if RUST_LOG is unset, default to info
export RUST_LOG=${RUST_LOG:-solana=info}
sudo sysctl -w net.core.rmem_max=26214400
cargo run --release --bin solana-fullnode -- -l leader.json < genesis.log