区分极狐极光配置

This commit is contained in:
2025-09-28 18:05:21 +08:00
parent f8cad4e61f
commit 37f77cd7d0
5 changed files with 663 additions and 333 deletions

12
main.py
View File

@@ -8,7 +8,9 @@ from steps import *
'''
自动配置 ros 脚本,需要安装 librouteros 库:
```
pip install librouteros
```
配置文件格式为 CSV包含以下字段
@@ -20,9 +22,9 @@ pip install librouteros
- mask: 公网子网掩码
- private: 内网 IP
如果需要添加或修改配置项,在编辑前记得先备份 config.csv 文件
如果需要添加或修改配置项,从 config.*.bak.csv 文件复制配置项到 config.csv 文件
如果需要修改配置内容,在 start 函数里 “配置 ros” 部分添加或修改函数调用
如果需要修改配置内容,在下面 “配置执行步骤” 部分添加或修改函数调用
'''
threads = []
@@ -30,11 +32,7 @@ failed = []
# 配置执行步骤
steps = [
configNet,
configOutsMix,
configScripts,
configLogs,
configDrop
configNet
]