View Single Post

   
  #3 (permalink)  
Old 02-20-2008, 07:28 AM
Michael
 
Posts: n/a
Default Re: startup script enigma

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gregg wrote:
> Hi all,
>
> I've installed postfix (and also cpufreqd) on my Slack-current 2.6.11.6
> system. Everything works all right, except when I boot the scripts are
> not executed. Yet I chmod'd rc.postfix and rc.cpufreqd properly.
>
> Perusing the book:
> http://slackbook.lizella.net/chapter4.html
>
> I could'nt find an answer, since the scripts chmod'd +x are supposed to
> be enable. Then again, which is the parent process launching those
> scripts ? Where is the error message redirected to ?
>
> The scripts seem to be allright, except they are launched within a "case
> $1", which means that if no argument (start, stop, restar) is given,
> well there's an error. But I couldn't get it in the logs :-(
> Does whichever process launches the "+x" scripts give any argument at all ?
>
> (I wish the book was more explicit on that one)
> (And I'm willing to write down the section, as soon as an appropriate
> answer is established)
>
> Thanks,
> ++

You could also run the new scripts from rc.local if you dont want to
modify rc.M.

M
- --
http://miroco.homelinux.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCVDsyCDtd7k1xGowRAl0SAJwPL52/sjvybLstW8HKl0IvpvPzSQCgjwGO
eU8voeOxGAlIPuPyBowMb7o=
=cNBe
-----END PGP SIGNATURE-----
Reply With Quote