I'm using an Acer Aspire One D250.
The O.S. is Linux4One.
It uses MadWiFi Drivers for the WiFi
I installed LAMPP.
I wrote a startup script called lampp

-----------------lampp. --------------
/opt/lampp/lampp start
-----------------lampp. --------------

I did the update-rc.d to embed it.

-----------------------------------------
sudo update-rc.d -f lampp start 99 0 1 2 3 4 5 6 .
-----------------------------------------

When I start the computer lampp works.
localhost returns the web htdocs directory.
When I start the network lampp stops.
localhost returns a failed to connect error.
What might be the reason that lampp stops.
I tried most runlvl configs in update-rc.d .

-BBOS