From owner-freebsd-questions Mon Jun 22 11:03:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA16300 for freebsd-questions-outgoing; Mon, 22 Jun 1998 11:03:27 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from chipweb.ml.org (qmailr@c1003518-a.plstn1.sfba.home.com [24.1.82.47]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id LAA16208 for ; Mon, 22 Jun 1998 11:02:58 -0700 (PDT) (envelope-from ludwigp@bigfoot.com) Received: (qmail 22281 invoked by uid 666); 22 Jun 1998 18:02:57 -0000 Received: from speedy.chipweb.ml.org (172.16.1.1) by inet.chipweb.ml.org with SMTP; 22 Jun 1998 18:02:57 -0000 Message-Id: <3.0.3.32.19980622110120.0073cce4@mail.plstn1.sfba.home.com> X-Sender: ludwigp@mail.plstn1.sfba.home.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Mon, 22 Jun 1998 11:01:20 -0700 To: "Ian O'Friel" , "FreeBSD Questions" From: Ludwig Pummer Subject: Re: Autoexec.bat equiv. In-Reply-To: <003101bd9df4$1de88280$17e107c3@metallica> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 04:28 PM 6/22/98 +0100, Ian O'Friel wrote: >Is there an equivelant to the AUTOEXEC.BAT under FreeBSD as I would like to >start various things automatically upon starting. > >thanx >Ian O'Friel If you want the system to start stuff (before you log in), /usr/local/etc/rc.d is there directory where you put stuff to execute (shell scripts calling actual programgs are best). To execute stuff when you log in, .profile, .login, or .cshrc, depending on which shell you use. There are other directories besides /usr/local/etc/rc.d; they are listed near the top of /etc/rc.conf (local_startup, I believe). --Ludwig Pummer ludwigp@bigfoot.com ICQ UIN: 692441 http://chipweb.home.ml.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message