Giter VIP home page Giter VIP logo

Comments (8)

keke1023 avatar keke1023 commented on July 30, 2024

这个问题我记得很久以前hiboy也说到过,后来应该是用了另一个指令来执行重启才改变了这个情况,但是具体的我没记住是用的什么指令,恐怕还是得刷了他的固件看一下了

from padavan.

pmkol avatar pmkol commented on July 30, 2024

这个问题我记得很久以前hiboy也说到过,后来应该是用了另一个指令来执行重启才改变了这个情况,但是具体的我没记住是用的什么指令,恐怕还是得刷了他的固件看一下了

kill -15 1
作者可以尝试修复下,但我记得好像是crond的问题,H大说的那个貌似是重启按钮无效的问题,时间太久不太确定了

from padavan.

pmkol avatar pmkol commented on July 30, 2024

我叉的你的源码,诺基亚贝尔A-040W-Q设置了今天早上重启(周三上午7点),没起作用。之前在群里看到说用VB1980的其他群友也有说过定时重启无效这个事。希望可以排查一下

https://www.right.com.cn/FORUM/thread-4068106-1-1.html
参考这篇文章,hanwckf的固件里,实际上是移除了定时重启按钮的,要用任务调度的方式来实现定时重启,作者使用了C大的插件,C大插件的页面里并没有移除这里的选项

from padavan.

sunnyguhz avatar sunnyguhz commented on July 30, 2024

我叉的你的源码,诺基亚贝尔A-040W-Q设置了今天早上重启(周三上午7点),没起作用。之前在群里看到说用VB1980的其他群友也有说过定时重启无效这个事。希望可以排查一下

https://www.right.com.cn/FORUM/thread-4068106-1-1.html 参考这篇文章,hanwckf的固件里,实际上是移除了定时重启按钮的,要用任务调度的方式来实现定时重启,作者使用了C大的插件,C大插件的页面里并没有移除这里的选项

C大源码定时重启功能是正常的呀。我有台刷了C大源码固件的K2每周定时重启3次,一直很正常啊

from padavan.

keke1023 avatar keke1023 commented on July 30, 2024

今天测试了一下,定时重启没有问题呢,关于重启的指令在/trunk/user/httpd/web_ex.c
sys_reboot(void)
{
#ifdef MTD_FLASH_32M_REBOOT_BUG
doSystem("/sbin/mtd_storage.sh %s", "save");
system("/bin/mtd_write -r unlock mtd1");
#else
kill(1, SIGTERM);
#endif
}
我就指定了一个马上要到的时间,然后也确实重启了

from padavan.

sunnyguhz avatar sunnyguhz commented on July 30, 2024

今天测试了一下,定时重启没有问题呢,关于重启的指令在/trunk/user/httpd/web_ex.c sys_reboot(void) { #ifdef MTD_FLASH_32M_REBOOT_BUG doSystem("/sbin/mtd_storage.sh %s", "save"); system("/bin/mtd_write -r unlock mtd1"); #else kill(1, SIGTERM); #endif } 我就指定了一个马上要到的时间,然后也确实重启了

但是我测试的几个机器都不重启。包括中兴E8820S、K2、K1、诺基亚贝尔A-040W-Q。我是在线编译的。会不会是在线版本和你本地版本代码上有差异没同步?

from padavan.

sunnyguhz avatar sunnyguhz commented on July 30, 2024

看了下管理后台网页,控制定时重启的应该是reboot_schedule
我也用几个路由器设置了马上要到的时间,就是死活不重启

from padavan.

CC13594759 avatar CC13594759 commented on July 30, 2024

确实 不会重启dir878

from padavan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.