Thank you for the reply, that's all I needed since that one is my favorite script.

We, I need that not just for me but for my customers. It's better to keep track of "locks", faster maintenance, less problems. I think when you have 20+ workstations customers a quick and stable solution is almost always the best way.

You shouldn't reboot the router if you can help it (I understand it wipes the settings when you make changes, but there are alternatives). My suggestion would be to save it as a shell script, then you can just telnet or ssh into the router and execute it whenever. That way everyone won't loose connectivity when the router reboots. If you have spare space on your router, enable the JFFS partition and go from there.

Or as someone else pointed out, you can go to the "tools -> system menu, and execute shell commands from there.