From owner-freebsd-ports@FreeBSD.ORG Wed Nov 9 07:04:40 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C2116A41F for ; Wed, 9 Nov 2005 07:04:40 +0000 (GMT) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4629A43D4C for ; Wed, 9 Nov 2005 07:04:40 +0000 (GMT) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=roam.psg.com) by rip.psg.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.54 (FreeBSD)) id 1EZk0d-000Gm1-N7; Wed, 09 Nov 2005 07:04:40 +0000 Received: from localhost ([127.0.0.1] helo=roam.psg.com) by roam.psg.com with esmtp (Exim 4.54 (FreeBSD)) id 1EZk0b-000KJw-Uy; Tue, 08 Nov 2005 21:04:38 -1000 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17265.40837.338064.87576@roam.psg.com> Date: Tue, 8 Nov 2005 21:04:37 -1000 To: freebsd ports Subject: ordering and timing /usr/local/etc/rc.d X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Nov 2005 07:04:40 -0000 i would like to order and time startups in /usr/local/etc/rc.d to deal with sequencing and timing issues, for example o network services come up befofe the ether is really alive and in contact with the world. some of them don't behave well if this happens (e.g. asterisk, ejabberd, ...) o exim starts before spamassassin daemon i could o rename them all to 042.whatever.sh o and do timing by adding 000.sleep.sh containing sleep 60 or whatever but, portupgrade of some packages still seems to dump new unnumbered shell scripts in the directory with +x how do others deal with this? what am i missing? clue by four, please. randy