Hi Marco. And hello from NewBrunswick.
Well your suggestions are valid and I do appreciate your input.
I will try and follow the examples that are there now and if all else fails I 
will just stick those lines in the /etc/rc.d/rc.local file, as you suggested.
I run Slackware here and that is what I do in that system. At least when I 
can't find a place for something - this is where I put it.  

But - at some point in time I would certainly like to know how to do this 
stuff right, as RedHat would like..

Thanks again..



On Sunday 15 April 2001 21:22, you wrote:
> > Where does a person go to find out how to make up scripts to install
> > in /etc/rc.d/init.d so that they run properly.
>
> There's no easy way to it that I know of.  You just have to look at the
> existing scripts and build from that.
>
> > It seems that just making up a file with only the three lines or so that
>
> you
>
> > want to have run, is just not the way to make up these files. I guess you
> > need to have  a start and stop function and probably more as well.
>
> Yes, they need a start, and stop at least.  The /etc/rc.d/rcX.d scripts are
> just links to an appropriate /etc/rc.d/init.d script.  When your system
> boots the init process runs all the rcX.d scripts from the appropriate
> level with the 'start' argument, and when your system shuts down, init runs
> the appropriate rcX.d scripts with the 'stop' argument.
>
> > So, to keep things simple - where does one go to get information on what
>
> is
>
> > needed in these scripts (the basics at least) and would there also be an
> > automatic script writer to produce these scripts.
>
> If you have a 3-liner that you need to run on every boot up, I'd suggest
> adding to the bottom of /etc/rc.d/rc.local.  This gets run on every boot
> up, and will likely do what you're looking for.  I originally used it to
> configure my COM ports with the setserial command.
>
> > Coldbrook, Nova Scotia Canada
>
> Hello from New Brunswick!
>
> Marco
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list

-- 
Ted Gervais
Coldbrook, Nova Scotia Canada



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to