If I set the listen address of lighttpd to 192.168.1.1, lighttpd won't start. This is IMHO because a race condition of the network subsystem and lighttpd. If I start lighttpd after the device booted, everything works file. The workaround is to set the listen address to 0.0.0.0. This is only an issue in some hardware, like the WizFi630S.
There you'll see the startup scripts SXXname, which are symbolic links to the actual script in
Delete the symbolic link for lighthttpd and recreate it with a higher number to give network more time to finish.
ln -s /etc/init.d/lighthttpd /etc/rc.d/S95lighthttpd
@trendy: Thanks, this is what I was thinking about.