Hi there,
I'm trying to recover a openwrt router remotely where the filesystem is full.
Context:
I will have routers on clients that are lay and besides this there is no console.
I'm writing a script that runs at boot (/etc/rc.local) to test if there are problems with a router.
The firts test is to find out if the overlay mounted correctly.
If it mounted read-only (probably fith disk full), I want to erase some files and reboot.
How can I do that?