On 13 July 2016 at 22:27, Ronaldo Afonso <[email protected]> wrote:
>   More specifically, my scripts at "/etc/uci-defaults" need to know if they
> are being executed by flashing over a "router original firmware"
> (factory.bin) or a previews OpenWrt firmware (sysupgrade.bin).

What about using something like /etc/config/ronaldo with some option
like "firstboot"? Of course you should add this file to the list of
preserved config files.
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to