I have for a while been using a custom compiled version of the firmware (see my OpenVPN+IPTables guide). All is working well except for the fact that with the OS being replaced at each boot, I need to manually load stuff after each boot.
To solve the boot issue, I’ve edited the firmware again, this time to add some entries to the “system_init” script. That seems to work as expected (loads on boot the stuff I need loading). But I would like to make some of the script being loaded customisable. In the firmware, this seems for the most part to be done in the “config.xml” file which is read and parsed by the “system_init”. Parsing the file is quite straight forward, as is adding entries - it’s just XML after all.
The trouble I have is that whenever I go to the web interface and change anything, all of the custom entries I have added to the “config.xml” file seem to get deleted.
Anyone know if it is possible to add custom entries to this file without them being deleted by the web interface?