Hi,
I have 2 partitions on our board i.e., primary and secondary. So my use case is I want to give permission to user to change the partition according to their need.
I need to add button on sub-tab i.e., Backup/flash firmware under System tab.
This button is for change the boot partition from primary to secondary and vice-versa. I am new in Luci/Lua.
So can anybody help me in this to implement that button on that page and in backend it will check that right now board is in which partitona and it will boot the board in alternate partition.
Please help me to implement both the things from frontend and backend.
Thanks in advance
Regards
Sakshi