The plan is to create a custom menu page in the firmware where I can then enable/disable a few customizations or scripts. I planned on just starting with implementing a few scripts, and then moving on to adding actual custom features once I got a better grasp on how the webui actually implements those custom, soizations. However, I am not having much luck in tracking down where the magic happens when a setting is changed in the webui. The form actions are all tomato.cgi. I would assume the forms get submitted and handled by php, however I cannot find any code in the php components that would suggest they are handling things.
Can anyone point me in the right direction? If I could get functionality as simple as a checkbox that enables/disables a firewall script (instead of having to copy/paste it into the Admin -> Scripts -> Firewall section), then I believe I could build on that to achieve my final goal.
Thanks for any help.