From owner-freebsd-questions Fri Jul 20 13:21: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from voyager.galileo.edu (samsara.galileo.edu [216.230.140.134]) by hub.freebsd.org (Postfix) with SMTP id 279E237B401 for ; Fri, 20 Jul 2001 13:21:01 -0700 (PDT) (envelope-from obonilla@galileo.edu) Received: (qmail 9168 invoked by uid 1001); 20 Jul 2001 20:21:31 -0000 Date: Fri, 20 Jul 2001 14:21:31 -0600 From: Oscar Bonilla To: Todd Reed Cc: freebsd-questions@freebsd.org Subject: Re: Startup Scripts version 2 Message-ID: <20010720142131.A9155@galileo.edu> Mail-Followup-To: Todd Reed , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ex279@hotmail.com on Fri, Jul 20, 2001 at 03:12:26PM -0500 X-Mailer: Mutt 1.2i (2000-05-09) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I think you should have a directory called /usr/local/etc/rc.d and put your startup.sh script in this directory. regards, -oscar On Fri, Jul 20, 2001 at 03:12:26PM -0500, Todd Reed wrote: > I created a /usr/local/rc.d called startup.sh. When I restart my machine, > it doesn't seem to execute. Below is the code in the sh file. What am I > doing wrong? Do I have to edit the rc.conf? > > > #!/bin/sh > # > > /sbin/ldconfig -m /usr/local/lib/mysql > > if [ -x /mnt/vdrv/dbms/bin/safe_mysqld ] > then > /mnt/vdrv/dbms/bin/safe_mysqld > /dev/null & && echo -n ` mysql` > fi > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- pgp public key: finger obonilla@galileo.edu pgp fingerprint: 9735 2F52 D499 17E2 D03B 5960 241D 09EA 349F 923E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message