[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Starup script - how can I make it start later? (Firestarter)



D-Man wrote:
> 
> I haven't done this yet, but I have a feeling that when I finish
> installing Debian I will be playing with the rc?.d scripts.
> 
> The scripts are actually symlinks to the real scripts.  The symlinks
> have a name like
> 
> [KS][0-9][0-9][a-zA-Z]+
> 
> The symlinks that start with S are for startup and the ones with K are
> for shutdown.  The 2-digit number tells the system which order to run

  it is slightly more general, the S* scripts are used when given run
level is entered, K* ones are executed when you leave the run level (you
might have meant the same thing but I thought it might help to clear it
up)

	erik

> the scripts.  The text after the number is the name of the service.
> 
> If you increase the number, it will start later.  It would be a good
> idea to read the docs first.  There is a program called sysconf or
> some similar name that is used to keep the init system in sync.  Check
> the archives or wait for the other gurus to explain it better than me.
> 
> HTH,
> -D
> 
> On Fri, Dec 22, 2000 at 07:34:39PM +0000, Phillip Deackes wrote:
> > I need to start a script containing ipchains settings derived freom
> > Firestarter. The docs suggest I start the script in /etc/rc.x. If I do
> > this, on boot up I get error messages which do not occur if I run the
> > script after the system has rebooted. This leads me to summise that the
> > script is starting too early. How can I make sure it is the last thing to
> > run on boot up?
> >
> > Anyone else using Firstarter? The script is firewall.sh and contains
> > ipchains references.
> >
> > I can try it again and copy over the error messages I receive on boot, but
> > I don't know how to get these messages again to copy - they appear during
> > boot up but they are not in /var/log/messages or /var/log/system.
> >
> > --
> > Phillip Deackes
> > Using Storm Linux 2000
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: