On a squashfs image just call "firstboot" and your router will be like
it has just been flashed.

Maddes

On 24.09.2010 20:21, Lukáš Macura wrote:
> Hello to all,
> 
> please, we are working with asus wl-500gp and backfire on it. We need to
> write script which will reset device to factory defaults. I used command
> 
> mtd -r erase rootfs_data
> 
> it works but after reboot, there is kernel crash, probably because bad
> jffs header after erase? It need tobe booted again to work properly.
> Please which is oficial way?
> It is possible to use sysupgrade -n, but I do not want to upgrade image,
> I only want to erase overlay device.
> 
> Thank you,
> Lukas Macura
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to