Re: Strange behaviour in Debian Lenny
On Wed, Sep 22, 2010 at 6:39 PM, Simon Brandmair <sbrandmair@gmx.net> wrote:
> On Wed, 22 Sep 2010 09:40:02 +0200 polloxx wrote:
>>
>> I have a strange behaviour in Debian Lenny. In /etc/rc2.d (default
>> runlevel), some startup scripts run tice when booting.
>>
>> I've made a test script in /etc/init.d/echo.sh like:
> [...]
>>
>> So, the script runs twice. Any explanation for that?
>
> Wild guess: There is also a symlink in /etc/rc6.d, so when rebooting the
> script is in fact run twice: once from /etc/rc6.d, once from /etc/rc2.d.
>
You were correct. I don't know how the symlink got there. Anyway,
deleting it solved the mystery.
Thanks.
P.
Reply to: