From owner-freebsd-questions@FreeBSD.ORG Mon Mar 2 03:54:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 480E0106564A for ; Mon, 2 Mar 2009 03:54:08 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ew0-f166.google.com (mail-ew0-f166.google.com [209.85.219.166]) by mx1.freebsd.org (Postfix) with ESMTP id C98898FC17 for ; Mon, 2 Mar 2009 03:54:07 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by ewy10 with SMTP id 10so1714405ewy.43 for ; Sun, 01 Mar 2009 19:54:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=mJrr+GX43ciVj4jDvpbWS8H9KSr9p7dqa99Zbz2xU34=; b=M0yD0USqut7mMes6rp4M1lPg/VLUS0255aEYBI4Q3NxOPvMq+3DvpFEYO4GGhsuyRK 6ZyVuIrYKeazC27r8+dye25Jn7Fhhkt283I57h0hA7VrbnCh10W0UVh9KnpAPssl4Eyr SVGs9Urg8GNqpQbmtH2ynsVG43djBr3C9HKok= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=U5C9tgClGJU0sm9SJxtoRWOSqHITBnrKFfs7ICVVd45D4G3YAn2A9mUlO+ZJMhtBv6 wWzasTLGCgy/vuTqH0So35EjQavisobn6Da4mGcc19xcC8g1raOQ6HufrPyU6A/tHXPo d235GakeYK7u37DgWFjDOaSbC1TvbTWqhMw8Q= Received: by 10.210.51.10 with SMTP id y10mr4367982eby.62.1235966046686; Sun, 01 Mar 2009 19:54:06 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id m5sm8108480gve.34.2009.03.01.19.53.57 (version=SSLv3 cipher=RC4-MD5); Sun, 01 Mar 2009 19:54:05 -0800 (PST) Date: Mon, 2 Mar 2009 03:53:24 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20090302035324.2b4e4a09@gumby.homeunix.com> In-Reply-To: <798008.8114.qm@web52107.mail.re2.yahoo.com> References: <798008.8114.qm@web52107.mail.re2.yahoo.com> X-Mailer: Claws Mail 3.7.0 (GTK+ 2.14.7; i386-portbld-freebsd7.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: rc.conf and starting scripts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Mar 2009 03:54:08 -0000 On Sun, 1 Mar 2009 19:14:17 -0800 (PST) gahn wrote: > > Hi all: > > I have some starting scripts under some other directories other > than /etc/rc.d. How could I utilize the rc.conf file to start them > when the system boots up? > > The default location for rc.conf is /etc/rc.d only and the knob > "local_startup=/usr/local/etc/rc.d" doesn't seem to be working for me > for some reasons /usr/local/etc/rc.d is the default for local scripts, that's where package put their scripts, but there are some rules. - they should either be proper RCNG scripts or they should end in a .sh extension - local RCNG scripts are ignored if they order themselves before the early-late divider.