Lars Behrens <Spam.Buster@web.de> wrote:
> When I start Slackware, for some reason /etc/rc.d/rc.local is ignored,
> although it is executable. When I run it manually after boot, then it
> is executed. Any idea what could be the reason?
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.
--
************************************************** ******************
** Eef Hartman, Delft University of Technology, dept. EWI/TW **
** e-mail:
E.J.M.Hartman@math.tudelft.nl, fax: +31-15-278 7295 **
** snail-mail: P.O. Box 5031, 2600 GA Delft, The Netherlands **
************************************************** ******************