Michael Johnson wrote:

>The way I did it was I created a script 'xfstt' in /sbin/init.d and
>then used rctab to add the script to those that run at run time. For
>me this way was easiest. The script is really a basic 'case'
>statement like most of the init scripts. The rctab just adds it to
>the runlevels of your choice. If you decide to do things this way as
>opposed to using /sbin/init.d/random or /sbin/init.d/boot.local and
>don't know how the script should look or whatever lemme know and I
>can send you the script and simple instructions on how I run it on my
>machine. Hope this helps.

Thanks very much.  This was a great help.  Not only did it help me
solve the problem I had but it gave just enough info so I had to do
some investigating myself.  So I also learned about rctab, killproc,
using head to get the pid of a program from the /var/run directory and
how the /sbin/init.d directory hangs together to control things.

After I created my /sbin/init.d/xfstt script I wanted to add it to
runlevels 1, 2 & 3.  It looked as though I could do this using the
following rctab command

    rctab -i xfstt -1 -2 -3

but this gave me an error (that I never wrote down) saying something
about pcmcia, which I don't have compiled into my kernel.  Was this
command I used correct?  In any case I got my script in by using
'rctab -e' so my problem is solved.

Cheers.

Steve Crane
[EMAIL PROTECTED]
http://www.datapro.co.za/~stevec

Steve Crane
[EMAIL PROTECTED]
http://www.datapro.co.za/~stevec

-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to