请问下使用 ShellCrash(with SingboxR)这类在软路由中安装 clash 进行科学上网的大佬

查看 2|回复 0
作者:BraveXaiver   
我现在启动 ShellCrash 遇到这个错误:
FATAL[0000] decode config at /tmp/ShellCrash/jsons/add_hosts.json: dns.servers[0].type: json: unknown field "type"
这是 add_hosts.json 文件:
{
  "dns": {
    "servers": [
      {
        "type": "hosts",
        "tag": "hosts",
        "path": [
          "/data/etc/custom_hosts",
          "/root/.hosts",
                  "/etc/hosts"
        ],
        "predefined": {
          "localhost": [
            "127.0.0.1",
            "::1"
          ],
          "time.android.com": "203.107.6.88",
          "time.facebook.com": "203.107.6.88"
        }
      }
        ],
    "rules": [
      {
        "ip_accept_any": true,
        "server": "hosts"
      }
        ]}
}
这是我当前的内核设置:
当前目录(/data/ShellCrash)剩余空间:18.4M
-----------------------------------------------
1 更新管理脚本    1.9.4release > 1.9.4release
2 切换内核文件    1.13.0 > 1.13.0
3 更新数据库文件       > 20260227
4 安装本地 Dashboard 面板
5 安装/更新本地根证书文件
6 查看 PAC 自动代理配置
-----------------------------------------------
7 切换安装源及安装版本
8 配置自动更新
9 卸载 ShellCrash
-----------------------------------------------
99 鸣谢!
-----------------------------------------------
0 返回上级菜单
-----------------------------------------------
请输入对应数字 > 2
-----------------------------------------------
当前内核:singboxr 1.13.0
当前系统处理器架构:arm64
请问这个错误是什么情况啊?
您需要登录后才可以回帖 登录 | 立即注册

返回顶部