Hi Boris
Boris wrote:
> Erich Titl schrieb:
>> Boris
>>
>> Boris wrote:
>>> Erich Titl schrieb:
>>>> Boris
>>>>
>> ...
>>
>>> To have it backuped, I wrote its name to /var/lib/lrpkg/local.local.
>>>
>>> Executing this file brings me the bits.
>>>
>>> Last question: Hwo do I make it autoexecuted on startup? I think I have
>>> to place somehow a symlink int /etc/rc0, but what kind exactly?
>> Your best bet is to look at one of the existing init scripts
>> You can find a line like
>>
>> RCDLINKS="2,S20 3,S20 4,S20 5,S20 0,K20 1,K20 6,K20"
>>
>> in there. This line is responsible for building the sym link in the
>> respective rd.d directories, e.g.
>>
>> 2,S20
>>
>> builds a link in rc.2 with the prefix S20 to the actual script.
>>
>> Erich
>>
>
> Hej Erich,
>
>
> thank you again VERY much for helping me!
>
> And sorry I have to stress you patience once more:
>
> I made this big script:
>
> RCDLINKS="2,S80"
> sleep 60
> chmod u+s /usr/sbin/ether-wake
> chown wolagent:wolagent /home/wolagent
>
> The chown work, but the chmod doesn't! As you can see, I tried to solve
> this by delaying the execution - with no success. What makes me really
> confused, is that it works when I execute it manually after reboot.
>
Mhhhh ... I must admit I _never_ use the character based chmod command,
I somehow got used to the octal representation.
Put some debugging output in your script, it will tell you what happens.
cheers
Erich
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/