From owner-freebsd-questions Wed Mar 13 13:33:42 2002 Delivered-To: freebsd-questions@freebsd.org Received: from PHSEXCHICI.MGH.HARVARD.EDU (phsexchici.mgh.harvard.edu [132.183.126.51]) by hub.freebsd.org (Postfix) with ESMTP id F350C37B416 for ; Wed, 13 Mar 2002 13:33:22 -0800 (PST) Received: by phsexchici.mgh.harvard.edu with Internet Mail Service (5.5.2650.21) id ; Wed, 13 Mar 2002 16:33:21 -0500 Message-ID: <375F68784081D511908A00508BE3BB17DDDC7C@phsexch22.mgh.harvard.edu> From: "Morse, Richard E." To: "'questions@freebsd.org'" Subject: Where to put miscellaneous startup commands? Date: Wed, 13 Mar 2002 16:33:16 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi! I want to make it so that when my system starts up, it sets compression on the tape drive to off (I'm going to be using Amanda, with software compression). So, somewhere during the startup sequence, I want to run the command: mt -f /dev/nrsa0 comp off Where should I put this? The comments in /etc/rc say that if I put an rc.local file in, I need to do some weird sourcing to include the configuration info from rc.conf. Should I create a one-line shell script and put it in /usr/local/etc/rc.d? Thanks, Ricky ----------------------------------------------------- Richard Morse System Administrator MGH Biostatistics Center 50 Staniford St. Rm 560 remorse@partners.org 617/724-9830 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message