From owner-freebsd-questions Mon Oct 30 8:51:17 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id 3D12437B4E5 for ; Mon, 30 Oct 2000 08:51:05 -0800 (PST) Received: from fedde (localhost [127.0.0.1]) by fedde.littleton.co.us (8.11.0/8.11.0.Beta3) with ESMTP id e9UGp0I51875; Mon, 30 Oct 2000 09:51:00 -0700 (MST) Message-Id: <200010301651.e9UGp0I51875@fedde.littleton.co.us> To: Jeremy Vandenhouten Cc: questions@FreeBSD.ORG Subject: Re: Automated Scripts In-Reply-To: From: Chris Fedde Date: Mon, 30 Oct 2000 09:51:00 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 30 Oct 2000 10:38:56 -0600 Jeremy Vandenhouten wrote: +------------------ | Its obvious that you can put shell scripts into rc.d but given the | similarity and the fact that you put #!/usr/bin/perl into the header of | the file, is it possible to put perl scripts into rc.d as well? +------------------ Yes, but the file name has to match '*.sh' and do something useful when the first argument matches 'start' or 'stop'. chris -- Chris Fedde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message