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

Re: [SpeechIO-86] Some suggestions regarding speechd directories

On Wed, 11 Aug 1999, Josh Miller wrote:
> Just thinking.... there should probably be a way to escape that even if one did
> have the redhat-release file present.... like (also in shell scripting like
> way.... sorry):

Not a bad idea, although I believe it is generally just assumed by most
packages.  We should be able to automate it cleanly enough that the user
shouldn't need to get involved in that.

And more significantly, asking where an init.d directory is doesn't
necessarily tell you everything you need to know to make it work.  It
might not have a SysV style init.  

But I have a feeling that we can do...

if (test -x /etc/rc.d/init.d); then
elif (test -x /etc/init.d); then
  echo "I do not yet recognize the layout of your init files."

Then copy the speechd start/stop script to $INITDIR, and simlink it to the
following files on all distributions that had one of the 2 above


I believe those 7 directories are the same on all SysV style init 
systems ?  Or more accurately, I'm guessing.  Does anybody know ?
PGP fingerprint = 03 5B 9B A0 16 33 91 2F  A5 77 BC EE 43 71 98 D4
            darxus@op.net / http://www.op.net/~darxus
                         Far Beyond Reason