Skip |sudo sysctl ...| on macOS
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user