Merlin have you given a thought of implementing this script in an upcoming release?
http://forums.smallnetbuilder.com/showthread.php?t=14300
http://forums.smallnetbuilder.com/showthread.php?t=14300
- Next build will introduce a new type of user scripts, called postconf scripts. Essentially, those scripts are run after the router has dynamically generated a config file (for example, dnsmasq.conf), and before the service gets started. This will allow advanced user to do all kind of manipulations on the generated config file through shell utilities such as sed. A basic example would be replacing a line in the generated config file with another line.