forked from buzzhub/lsyupdate
1
This commit is contained in:
parent
a6699548f2
commit
bcf3fc3108
@ -80,7 +80,7 @@ EOF
|
|||||||
echo "Port retrieved: $port"
|
echo "Port retrieved: $port"
|
||||||
# 更新配置文件中的 remote_port 字段
|
# 更新配置文件中的 remote_port 字段
|
||||||
sed -i "s/remote_port = /remote_port = $port/" "$FRPC_DIR/frpc.ini"
|
sed -i "s/remote_port = /remote_port = $port/" "$FRPC_DIR/frpc.ini"
|
||||||
sudo systemctl restart lsyfrpc
|
sudo systemctl start lsyfrpc
|
||||||
}
|
}
|
||||||
|
|
||||||
# 主函数,调用相关函数来完成安装等操作
|
# 主函数,调用相关函数来完成安装等操作
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user