From owner-freebsd-questions@FreeBSD.ORG Sat Dec 23 23:15:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 563DB16A407 for ; Sat, 23 Dec 2006 23:15:41 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id E894513C425 for ; Sat, 23 Dec 2006 23:15:40 +0000 (UTC) (envelope-from msoulier@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so3667051nfc for ; Sat, 23 Dec 2006 15:15:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=fl7vnHPG/nGRKK4il+gz1AapcCZ0M5ZQVaMaMussUCPvqogk3W+zGtOI+a5KJJc8O/mBr5Tq8oTmsNZiRfLHWuQ7gKzboKsl1ZphaEWwLk8hh3tHAZx5/5FHjSBjgiUZL7c091BuzvEszx5dwrFYO1CYXTfhRlKwIdV3KI4iNJ4= Received: by 10.82.162.14 with SMTP id k14mr2324534bue.1166915739643; Sat, 23 Dec 2006 15:15:39 -0800 (PST) Received: by 10.82.177.8 with HTTP; Sat, 23 Dec 2006 15:15:39 -0800 (PST) Message-ID: Date: Sat, 23 Dec 2006 18:15:39 -0500 From: "Michael P. Soulier" Sender: msoulier@gmail.com To: "FreeBSD Questions" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 1674cb58a8b12708 Subject: where are /usr/local/etc/rc.d init scripts run from? 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: Sat, 23 Dec 2006 23:15:41 -0000 I was looking in /etc/rc, and it's obvious to see where the /etc/rc.d scripts are run from. skip="-s nostart" [ `/sbin/sysctl -n security.jail.jailed` -eq 1 ] && skip="$skip -s nojail" files=`rcorder ${skip} /etc/rc.d/* 2>/dev/null` for _rc_elem in ${files}; do run_rc_script ${_rc_elem} ${_boot} done So rcorder is run over /etc/rc.d/*. When is the same done for /usr/local/etc/rc.d/*? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein