When I need to do this I run
firstboot; reset

Cheers
-----------------------------------------
Chris Martin
mb: +61 4 19812371
-----------------------------------------

On 25 Sep 2010 04:22, "Lukáš Macura" <mac...@opf.slu.cz> 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
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to