From owner-freebsd-questions@FreeBSD.ORG Mon Jul 18 18:50:11 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0144A16A41C for ; Mon, 18 Jul 2005 18:50:11 +0000 (GMT) (envelope-from john@day-light.com) Received: from joseph.day-light.net (gabriel.day-light.net [209.145.160.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id A214D43D4C for ; Mon, 18 Jul 2005 18:50:10 +0000 (GMT) (envelope-from john@day-light.com) Received: from w1 (unknown [10.1.5.36]) by joseph.day-light.net (Postfix) with SMTP id 48FD64F3E2; Mon, 18 Jul 2005 13:50:09 -0500 (CDT) From: "John Brooks" To: =?iso-8859-1?B?S/Z2ZXNk4W4gR+Fib3I=?= Date: Mon, 18 Jul 2005 13:50:18 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal Cc: freebsd-questions Question Subject: RE: rcNG issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john@day-light.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jul 2005 18:50:11 -0000 > On Jul 18, 2005, at 11:58 AM, Kövesdán Gábor wrote: > > > Hello, > > > > I have a problem with my rcNG scripts. There are three scripts: > > named.sh, apache2.sh and proftpd.sh. Apache and ProFTPd require > > hostname resolving thus named should start firstly. > > > > Where do these scripts live? Are they in /usr/local/etc/rc.d? > > If so, they run in lexographic order. The rc ordering stuff does not > apply to /usr/local/etc/rc.d > > Chad > An easy fix is to rename these scripts with a numeric prefix in the order you want them to execute. 100.named.sh 200.apache2.sh 300.proftpd.sh John