From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=DATE_IN_PAST_06_12, INVALID_DATE,MAILING_LIST_MULTI,NO_RELAYS autolearn=no autolearn_force=no version=4.0.0 Received: from pm by cvs.gentoo.org with local (Exim 3.30 #1) id 15UoP7-0004qX-00 for gentoo-dev@cvs.gentoo.org; Thu, 09 Aug 2001 05:55:09 -0600 From: Parag Mehta To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] rc.local init order Message-ID: <20010809055509.A18603@cvs.gentoo.org> References: <20010808223253.A484@threadbox> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010808223253.A484@threadbox>; from thread@threadbox.net on Wed, Aug 08, 2001 at 10:32:53PM -0400 X-Operating-System: Gentoo Linux 2.4.4-ac9 on an i686 X-Organization: Gentoo Linux X-Organization-Team: Server Team Leader X-Url: http://www.pmehta.org X-Alternate-Email: pmehta@pmehta.org Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Thu Aug 9 05:56:01 2001 X-Original-Date: Thu, 9 Aug 2001 05:55:09 -0600 X-Archives-Salt: b378e2f4-cbc8-412f-942f-31cd5af25862 X-Archives-Hash: c59553e24a39bb9617b4cf4d026629c0 Hi Thread! Try adding ur script in /etc/rc.d/rc.local this is the file which fires the last in any linux system. * Thread assembled some ascibets to say: Thread > Thread >Interesting, I added my spoofy little perl app to fire off on boot to my Thread >/etc/rc.d/init.d/local. Problem: the script attempts to connect to my mysql Thread >database first thing, and fails because the mysqld init script doesn't fire off Thread >till later. I always thought that the local init was the last to execute, guess Thread >I was wrong. What's the most elegant way around this quirk? Best Regards, pm -- Developer Gentoo Linux http://gentoo.org #exclude