This pair of patches implements a package (for feeds), called failsafe-provider-restore based on the modular failsafe/preinit patch I have posted recently.
The package will download a firmware and settings tarball on entry to failsafe mode (unless you select to bypass and do a regular failsafe) and use sysupgrade to flash it. This is useful, for example, for a provider who managers user's routers, and wants to have a means to restore the router to known good personalized settings using a remote 'phone home' in preference to an RMA on the device. Obviously you wouldn't leave your server listening for these sorts of requests at all times, and at present it's more of a proof-of-concept as it doesn't implement SSL yet. I'm posting this mostly as an example of what can be done, but if you have any comments, they'd be appreciated. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org The C Shore (Daniel Dickinson's Website) http://www.bmts.com/~cshore
signature.asc
Description: PGP signature
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel