From owner-freebsd-questions Sat Jan 9 21:17:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA01256 for freebsd-questions-outgoing; Sat, 9 Jan 1999 21:17:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from mirage.irdu.nus.edu.sg (mirage.irdu.nus.edu.sg [137.132.19.24]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA01248 for ; Sat, 9 Jan 1999 21:17:44 -0800 (PST) (envelope-from wally@irdu.nus.edu.sg) Received: from localhost (wally@localhost) by mirage.irdu.nus.edu.sg (8.8.8/8.8.8) with SMTP id NAA03526 for ; Sun, 10 Jan 1999 13:17:11 +0800 (SGT) Date: Sun, 10 Jan 1999 13:17:10 +0800 (SGT) From: Wally Lee To: freebsd-questions@FreeBSD.ORG Subject: Startup and shutdown scripts In-Reply-To: <19990110132339.B8014@caamora.com.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, To start a program when the machine is power on is to put the script at /usr/local/etc/rc.d, so to have the system stop a program through a script when shutdown, which directory should I put the script in? Thanks. Rgds Wally Lee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message