I have a service that mounts a server in a folder in /etc/init.d Sometimes it runs when I start the computer, sometimes it doesn't. I think that it depends on the wireless connection. If it is connected to wi-fi, it can reach the server, if it isn't connected it can't. When I restart the service it connects ok. I have the following config:
Required-Start: $network $remote_fs $syslog
Required-Stop: $network $remote_fs $syslog
Default-Start: 2 3 4 5
Default-Stop: 0 1 6
Should I include any other init condition?