Dear,

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:

#!/bin/bash
### BEGIN INIT INFO
# Provides:
# Required-Start:
# Required-Stop:
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Deferred execution scheduler
# Description:       Debian init script
#                    scheduler
### END INIT INFO

echo "xxx" >> /home/me/text

With a softlink:
lrwxrwxrwx 1 root root  17 2010-08-10 13:55 S30echo.sh ->
../init.d/echo.sh

The file /home/me/text exists and is empty.
When I reboot the system /home/me/text looks like:

xxx
xxx

So, the script runs twice. Any explanation for that?

P.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinvvco+pbappeib5i_c-lz7-deq5vm9sxkmj...@mail.gmail.com

Reply via email to