Fix a wrong variable names (ifname, wan) and enhance httpd's init script by more...