On 22/09/10 17:35, polloxx wrote: > 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. > >
"If" the script is run twice.... whack a timestamp in and see what it says. Do you have insserv installed?? Cheers -- *In case you never receive this mail, please notify me immediately* -- 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/4c99b504.6010...@gmail.com