Fix partition setup (#9386) (#9394)

automerge
This commit is contained in:
mergify[bot]
2020-04-09 02:55:26 -07:00
committed by GitHub
parent 3379a8470d
commit 7df45cf58a
3 changed files with 142 additions and 174 deletions

View File

@@ -19,8 +19,6 @@ iface="$(ifconfig | grep mtu | grep -iv loopback | grep -i running | awk 'BEGIN
if [[ "$1" = cleanup ]]; then
$sudo ~solana/.cargo/bin/solana-net-shaper cleanup -f "$2" -s "$3" -p "$4" -i "$iface"
elif [[ "$1" = force_cleanup ]]; then
$sudo ~solana/.cargo/bin/solana-net-shaper force_cleanup -i "$iface"
else
$sudo ~solana/.cargo/bin/solana-net-shaper shape -f "$2" -s "$3" -p "$4" -i "$iface"
fi