hi devs,

for having a better way not to lost a router i like to
use /dev/watchdog from a shell script. the reason is this:

Sometimes the oom-killer removes important tasks like
ssh + httpd + routing + cron but leaves the watchdog-petting on,
so the device is running, but in fact lost.

A better way would be IMHO to use a cron.minutely which fire's
an ioctl to /dev/watchdog. if crond is removed, the device should
reboot. so i need a way to invoke an ioctl from shellscript.

whats the best way, maybe with onboard-tools?

bye, Bastian

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to