From owner-freebsd-questions@FreeBSD.ORG Wed Feb 6 14:10:02 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 7D6EC16A468 for ; Wed, 6 Feb 2008 14:10:02 +0000 (UTC) (envelope-from navneet.upadhyay@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id EF86813C469 for ; Wed, 6 Feb 2008 14:10:01 +0000 (UTC) (envelope-from navneet.upadhyay@gmail.com) Received: by ti-out-0910.google.com with SMTP id j2so483231tid.3 for ; Wed, 06 Feb 2008 06:10:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=dfLxGW9/Ka0N5cfqZKfuIrf02pL3Tb6xrfNEdkch2dA=; b=Nba2b9i+Sk9itbQihSv1q3PW2Ws0/dM5vJeXvNXLGm63i8wZoKLKjYFcQhqDCpaDg+LQB5XibOXbcz9jSpz3R23wytk0g7HiVT3msVGKCOI2wmCsa4GnKGhuHpvCduda/nMN8nohQVKBdzoL1rSQC2xjZ77kUhNHPvU1LmiAUno= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=gA+7dpB07E9c93irfdS3faGt53Nb7rAzMc1sJgfW8sgrd38II9aL10qqFgqT/CyA+z2eh+9bDCm8PlYMyPxXd3ZbLeSJYDGGKE7nUUTQanS3K62RODNpJxct9UwZ+NKPrNLFAM8gJpVi5C6bmbRvtZt+ogE/UG4J5E0qafnQVM8= Received: by 10.150.12.5 with SMTP id 5mr900058ybl.128.1202306999010; Wed, 06 Feb 2008 06:09:59 -0800 (PST) Received: by 10.150.185.7 with HTTP; Wed, 6 Feb 2008 06:09:59 -0800 (PST) Message-ID: <1563a4fd0802060609j59451879h3920be790d7667c0@mail.gmail.com> Date: Wed, 6 Feb 2008 19:39:59 +0530 From: "navneet Upadhyay" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: 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 14:10:02 -0000 Hi, I have a script file, i want that script to be executed on system startup. I am doing this on Linux in following two steps : - 1. Copying the script to /etc/rc.d directory. 2. /sbin/chkconfig --add "scriptname" I want to achieve the same on FreeBSD chckconfig file is not present, documentation says i have to add it to rc.conf file. How can i add it to rc.conf file, is there any command?