From owner-freebsd-questions Fri Jul 20 13:33:22 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 3EEDB37B403 for ; Fri, 20 Jul 2001 13:33:13 -0700 (PDT) (envelope-from obonilla@galileo.edu) Received: (qmail 9496 invoked by uid 1001); 20 Jul 2001 20:33:42 -0000 Date: Fri, 20 Jul 2001 14:33:42 -0600 From: Oscar Bonilla To: Todd Reed Cc: obonilla@galileo.edu, freebsd-questions@freebsd.org Subject: Re: Startup Scripts version 2 Message-ID: <20010720143342.A9483@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:24:10PM -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 do you have a line local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs. in either your /etc/default/rc.conf or /etc/rc.conf? the former is read before the later, so if you have anything else in the later whatever you have in the former will be overriden. regards, -oscar On Fri, Jul 20, 2001 at 03:24:10PM -0500, Todd Reed wrote: > I appoligize, that is an error on my part. It is in the /usr/local/etc/rc.d > directory. > > > >From: Oscar Bonilla > >To: Todd Reed > >CC: freebsd-questions@freebsd.org > >Subject: Re: Startup Scripts version 2 > >Date: Fri, 20 Jul 2001 14:21:31 -0600 > > > >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 > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- 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