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?

Thank you.

  • Is this an NFS filesystem? – novice Jan 12 at 2:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.