Copy /init/functions and /init/httpserver to /usr/local/init/, i.e.
Code:
cp /init/functions /usr/local/init/functions
cp /init/httpserver /usr/local/init/httpserver
Edit /usr/local/init/functions and replace call to /init/httpserver to /usr/local/init/httpserver.
Edit /usr/local/init/httpserver in the way you like also it's a good idea to remove "echo ... > watchdog.conf" from this file.
commit changes like this
Code:
flashfs save
flashfs commit
flashfs enable
If you was careful enough, then on the next boot you will got changed things, otherwise wl500g will continously rebooting and you will need to follow instructions posted with firmware.