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

Ed McKnight yellowdog-general@lists.terrasoftsolutions.com
Tue Nov 4 20:57:01 2003


Was the file created by touch?  --emk


Chris Gehlker wrote:
> 
> On Nov 4, 2003, at 8:02 PM, Konstantin Riabitsev wrote:
> 
>> 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.
> 
> 
> Hmm... OK is there some way to test if rc.local is actually being run?
> 
> _______________________________________________
> yellowdog-general mailing list
> yellowdog-general@lists.terrasoftsolutions.com
> http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-general