What with /etc/rc.d/rc.local?

Konstantin Riabitsev yellowdog-general@lists.terrasoftsolutions.com
Tue Nov 4 20:03:00 2003


On Tue, 2003-11-04 at 21:44, Chris Gehlker wrote:
> I'm trying to use it to start a couple of daemons, but no joy. Here is 
> my test version:
> 
> #!/bin/sh
> #
> # This script will be executed *after* all the other init scripts.
> # You can put your own initialization stuff in here if you don't
> # want to do the full Sys V style init stuff.
> 
> echo "This file seems to be able to work"
> 
> touch /var/lock/subsys/local
> 
> Then I reboot and do
> 
> dmesg | grep work
> 
> But I don't see any output.
> 
> To be fair, this doesn't seem to work under Red Hat either.

Dmesg lists kernel-level messages (iirc), so echo wouldn't make it
there.

-- 
Konstantin ("Icon") Riabitsev
Duke University Physics Sysadmin