xiaorouji / openwrt-passwall2

1.36k stars 440 forks source link

[Bug]: 一段摸不清的小错误日志 #232

Closed Travel2Here closed 1 year ago

Travel2Here commented 1 year ago

描述您遇到的bug

使用貌似正常,日志一直有这样一段,请问什么问题?

顺藤摸瓜看到文件调用的/usr/lib/lua/luci/passwall2/server_app.lua去执行。这里面有关于-w的命令。

local function ipt(arg) cmd(ipt_bin .. " -w " .. arg) end

local function ip6t(arg) cmd(ip6t_bin .. " -w " .. arg) end

可是为什么会出错呢?还是说这个not found指的是没有需要等待的旧文件,可忽视它? 但最后又有一句无效的-选项。。。

复现此Bug的步骤

启动、重启既如此

您想要实现的目的

FIX~

日志信息

Mon Mar 27 12:27:47 2023 user.warn kernel: [ 42.495554] passwall2: restart when wan ifup Mon Mar 27 12:27:51 2023 cron.err crond[12577]: crond (busybox 1.36.0) started, log level 8 Mon Mar 27 12:27:51 2023 daemon.notice procd: /etc/rc.d/S99openclash: OpenClash Already Stop! Mon Mar 27 12:27:51 2023 daemon.notice procd: /etc/rc.d/S99passwall2_server: sh: -w: not found Mon Mar 27 12:27:51 2023 daemon.notice procd: /etc/rc.d/S99passwall2_server: sh: -w: not found Mon Mar 27 12:27:51 2023 daemon.notice procd: /etc/rc.d/S99passwall2_server: sh: -w: not found Mon Mar 27 12:27:51 2023 daemon.notice procd: /etc/rc.d/S99passwall2_server: sh: -w: not found Mon Mar 27 12:27:51 2023 daemon.notice procd: /etc/rc.d/S99passwall2_server: sh: illegal option - Mon Mar 27 12:27:51 2023 daemon.notice ttyd[12699]: [2023/03/27 12:27:51:5948] N: ttyd 1.6.3 (libwebsockets 4.3.2-20221001-676-ga73aec8f8)

截图

No response

系统相关信息

passwall2 1.10-6

其他信息

No response

github-actions[bot] commented 1 year ago

Stale Issue