On Sat, 2006-05-20 at 16:26 -0500, Greg Wallace wrote:
On Saturday, May 20, 2006 @ 3:34 PM, Ken Schneider wrote:
# Required-Start: $syslog $remote_fs # Should-Start: $time ypbind sendmail # Required-Stop: $syslog $remote_fs # Should-Stop: $time ypbind sendmail # Default-Start: 3 5 # Default-Stop: 0 1 2 6
lines as they determine the start order of the scripts, the S# and the K# assigned to the links in the RC#.d dirs.
So, for example, does Default-Start 3 5 say to start it in runlevels 3 and 5? And as far as predecessors, would you not set that up by adding a line into .depend.start (and .depend.stop for the kills)?
Greg Wallace
As Carlos has pointed out don't bother with those files. The Default-Start 3 5 does mean run the script when entering run level 3 or 5. So if you start the system in run level 2 the script would not run. Add your required predecessors to the # Required-Start: line. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998