View Single Post

   
  #7 (permalink)  
Old 02-19-2008, 07:30 AM
Lars Behrens
 
Posts: n/a
Default Re: rc.local is not executed (Slackware 9.1)

Eef Hartman wrote:

> rc.local should be, as other already told you, be the last script
> executed by rc.M. But it executes OTHER scripts first, and as these
> are NOT run in sub-shells, any script that executes a "exit", or
> "return", will terminate the whole execution of rc.M, so anything
> beyond THAT script will not be run anymore.
>
> So look at what else the rc.M is executing, and how far it comes.
> Putting some echo's in the rc.M (to a file or so) will show you how
> far it comes and so help localize the problem.


Thanks, your tip helped! There was a wrong call of Alsa in rc.M
( "/etc/rc.d/rc.alsa" instead of "/etc/rc.d/rc.alsa start") so the
Script exited.

Thank you and the others for the support!

Cheerz Lars

Reply With Quote