Gentoo Archives: gentoo-dev

From: Gontran <gontran@×××××××.net>
To: gentoo-dev@××××××××××.org
Subject: Re: [gentoo-dev] rc.local init order
Date: Wed, 08 Aug 2001 23:42:09
Message-Id: 20010808222922.C27568@potre
In Reply to: [gentoo-dev] rc.local init order by Thread
1 * Thread (thread@×××××××××.net) wrote:
2 >
3 > Interesting, I added my spoofy little perl app to fire off on boot to my
4 > /etc/rc.d/init.d/local. Problem: the script attempts to connect to my mysql
5 > database first thing, and fails because the mysqld init script doesn't fire off
6 > till later. I always thought that the local init was the last to execute, guess
7 > I was wrong. What's the most elegant way around this quirk?
8 >
9
10 Thread,
11
12 Maybe add a 'sleep 5'? You know, sometimes mysql takes a few seconds to
13 load ...
14
15 Gontran