Hi Felix,

On 07/14/2015 10:09 AM, Felix Fietkau wrote:
> Unless I'm missing something, this seems like a rarely needed special
> case to me. How about simply adding a custom preinit file to your
> firmware through files/ instead?
> Since the preinit script runs boot_run_hook preinit_mount_root just
> before the config restore, you should be able to add your code in the
> right place and use it to delete or move sysupgrade.tgz.

Yes, you are right, this is a simpler way. Forget my patch then.

Greetings,
bruno
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to