From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 15:35:46 2008 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 551EE16A41B; Wed, 6 Feb 2008 15:35:46 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id A8F4113C458; Wed, 6 Feb 2008 15:35:39 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8) with ESMTP id m16FYi8L004033; Wed, 6 Feb 2008 16:34:44 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.13.8/8.13.8/Submit) with ESMTP id m16FYiIv004030; Wed, 6 Feb 2008 16:34:44 +0100 (CET) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Wed, 6 Feb 2008 16:34:44 +0100 (CET) From: Wojciech Puchar To: Ivan Voras In-Reply-To: Message-ID: <20080206163423.E4029@wojtek.tensor.gdynia.pl> References: <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: script to be executed on system startup. 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: Wed, 06 Feb 2008 15:35:46 -0000 > (for example: "/etc/rc.d/myscript") > 2. chmod a+x the script > 3. you're done. > > This will work for the recent versions of FreeBSD (you didn't say for > which version do you need it). you need to make that script react for "start" and "stop" commands at least