From owner-freebsd-questions@FreeBSD.ORG Thu May 31 21:06:46 2007 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 5C3C616A400 for ; Thu, 31 May 2007 21:06:46 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 425F213C44B for ; Thu, 31 May 2007 21:06:46 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Htrr3-0005xm-3s for freebsd-questions@freebsd.org; Thu, 31 May 2007 14:06:45 -0700 Message-ID: <10902043.post@talk.nabble.com> Date: Thu, 31 May 2007 14:06:45 -0700 (PDT) From: gmoniey To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: gmoniey@gmail.com Subject: startup / shutdown script (rc.d) 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: Thu, 31 May 2007 21:06:46 -0000 Hi, I was wondering if there is a simple way to create 1 script that will be called during startup and shutdown. Basically, I am looking for something like this: if startup run command 1 with params run command 2 with params run command 3 with params if shutdown run command 4 with params run command 5 with params run command 6 with params i have tried lookin up rc.d documentation, but it very vague and difficult to understand...thanks -- View this message in context: http://www.nabble.com/startup---shutdown-script-%28rc.d%29-tf3848895.html#a10902043 Sent from the freebsd-questions mailing list archive at Nabble.com.