Skip |sudo sysctl ...| on macOS
This commit is contained in:
parent
327ee1dae8
commit
04d1a083fa
|
@ -3,5 +3,6 @@
|
|||
# if RUST_LOG is unset, default to info
|
||||
export RUST_LOG=${RUST_LOG:-solana=info}
|
||||
|
||||
sudo sysctl -w net.core.rmem_max=26214400
|
||||
set -x
|
||||
[[ $(uname) = Linux ]] && sudo sysctl -w net.core.rmem_max=26214400
|
||||
cargo run --release --bin solana-fullnode -- -l leader.json < genesis.log
|
||||
|
|
|
@ -11,7 +11,7 @@ set -x
|
|||
|
||||
rsync -v -e ssh "$LEADER"/{mint-demo.json,leader.json,genesis.log} . || exit $?
|
||||
|
||||
sudo sysctl -w net.core.rmem_max=26214400
|
||||
[[ $(uname) = Linux ]] && sudo sysctl -w net.core.rmem_max=26214400
|
||||
|
||||
# if RUST_LOG is unset, default to info
|
||||
export RUST_LOG=${RUST_LOG:-solana=info}
|
||||
|
|
Loading…
Reference in New Issue