Dealing with boot dependencies (NIS, user program)
Dealing with boot dependencies as Squeeze installs them is not always that easy. After installation of this box I had to install NIS and a user program which runs in the background, but needs credentials obtained thru NIS. The user program should start during boot as well.
The header of the NIS startup script looked like: Code:
### BEGIN INIT INFO Code:
### BEGIN INIT INFO Code:
### BEGIN INIT INFO This would not help either: Code:
### BEGIN INIT INFO No, this would not do the trick either, as a matter of fact update-rc.d would not even install the script: Code:
### BEGIN INIT INFO The solution was of course the specify the package Provided by NIS: Code:
### BEGIN INIT INFO jlinkels |
Another option is to look into the /etc/insserv.conf file, and create your own virtual dependency there. When you look in that file you'll see why network-manager wasn't started even though network is listed. I don't see anything wrong with your solution though.
There is no need to call update-rc.d anymore, just call insserv after making any changes to lsb headers and it will read those headers and use update-rc.d itself. |
I haven't thought about editing/creating a virtual dependency, but it seems a good idea.
jlinkels |
All times are GMT -5. The time now is 08:19 PM. |