安装
bash <(curl -fsSL https://raw.githubusercontent.com/Kylin010/tcpfit/main/tcpfit.sh)固定版本并校验:
V=v0.3.4
curl -fsSLO https://github.com/Kylin010/tcpfit/releases/download/$V/tcpfit.sh
curl -fsSLO https://github.com/Kylin010/tcpfit/releases/download/$V/SHA256SUMS
sha256sum -c SHA256SUMS
bash tcpfit.sh更新
脚本不会自动更新. 检查并更新:
tcpfit update或菜单选 8. 发现新版本会先问你, 同意才更新; 更新只替换脚本本身, 配置和快照不受影响.
回滚
tcpfit rollback # 按快照逐项写回
tcpfit shape --off # 只去掉整形