OK that got it.

There wasn't a $all service.  (SLES9 SP3)
But, looking at splash_late, well there was a "provides".

So doing an insserv -r to remove the old stuff before doing the insserv again, 
moved the startup to "S16"....basically the end of the line.  

It moved the shutdown to "K06" which is the first things shutdown.

I did try the "forcing" approach.  That is rename the scripts to the place I 
wanted them.  Worked fine also.  That is until I did another "insserv" command 
again.  It set things straight.

I knew there had to be a legit way of doing this.

That was fun....Time to go off to do something else.

Tom Duerbusch
THD Consulting

>>> Mark Post <[EMAIL PROTECTED]> 7/5/2007 3:47 PM >>>
>>> On Thu, Jul 5, 2007 at  4:07 PM, in message
<[EMAIL PROTECTED]>, Tom Duerbusch
<[EMAIL PROTECTED]> wrote: 
> With a holiday, it is a slow time of the month.
> Time to learn....
> 
> I'm reading the "Suse Linux boot concept" chapter in the PDF that comes with 
> SUSE (the PDF is called MANUAL), but it is the Installation and 
> Administration manual.
> 
> Playing around with the following, modified from "skeleton":
> 
> #! /bin/sh
> # Copyright (c) 1995-2004 SUSE Linux AG, Nuernberg, Germany.
> # All rights reserved.
> #
> # Init skeleton modified for Oracle startup and shutdown
> # by Tom Duerbusch
> # THD Consulting
> # July 5 2007
> #
> ### BEGIN INIT INFO
> # Provides:          ORACLEDB
> # Required-Start:    $network
-snip-
> Starting it up as the last thing started and the first thing shutdown, would 
> be good.

Try using $ALL.  According to the clamd script, that's a "UnitedLinux 
extension" that "indicates that a script should be inserted at the end."  Not 
sure what it will do in terms of the kill scripts.  Hopefully it will be the 
first one.

> The chapter on this, does a good job of explaining the startup sequence, but 
> not how to be last.  Apparently, there are only certain parms that can be put 
> in the "required start" and it is doing what I tell it, that is start after 
> $network.  I could put a delay in the startup process to wait everything out. 

Actually, you can put anything in there that another startup script "Provides:".
/etc/init.d> grep Provides: *
for a list of what all those might be on your particular system.  One you might 
consider is "SuSEfirewall2_setup" since that appears to be currently last on my 
SLED10 system.


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to