From owner-freebsd-questions Tue Dec 19 16: 2:50 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 19 16:02:47 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from c007.snv.cp.net (c007-h000.c007.snv.cp.net [209.228.33.206]) by hub.freebsd.org (Postfix) with SMTP id 8748437B400 for ; Tue, 19 Dec 2000 16:02:47 -0800 (PST) Received: (cpmta 11502 invoked from network); 19 Dec 2000 15:44:53 -0800 Received: from dsl-216-227-91-85.telocity.com (HELO zoso) (216.227.91.85) by smtp.telocity.com (209.228.33.206) with SMTP; 19 Dec 2000 15:44:53 -0800 X-Sent: 19 Dec 2000 23:44:53 GMT From: "Otter" To: "Drew Tomlinson" , "FreeBSD Questions (E-mail)" Subject: RE: URLs For Script Intro for Newbie Date: Tue, 19 Dec 2000 18:50:06 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG check out the /usr/local/etc/rc.d directory. If you make a script in the form of script.sh they will be called on to start at boot time. if you have apache, dnetc, ups utils, etc... you can see how other apps are using it. -Otter }-----Original Message----- }From: owner-freebsd-questions@FreeBSD.ORG }[mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of }Drew Tomlinson }Sent: Tuesday, December 19, 2000 6:06 PM }To: FreeBSD Questions (E-mail) }Subject: URLs For Script Intro for Newbie } } }I've had FBSD installed for a couple of months now and have }decided that to }further my experience with it I need to start learning about }scripts. I }assume I need to learn about the standard /bin/sh shell (<- }is this the }correct term?). Can anyone recommend reading or URLs for }the beginner? I }have experience with DOS batch file and OpenVMS command }procedures so any }reference that makes comparisons with those operating }systems would be extra }helpful. } }My immediate need is to write a script that starts my }dynamic IP service }client to place in rc.d. If someone could help me with this }I'd be most }appreciative. To start it from the command line, I just su }to root and type }"dynipclient". How do I put this in a script? } }Thanks, } }Drew } } } }To Unsubscribe: send mail to majordomo@FreeBSD.org }with "unsubscribe freebsd-questions" in the body of the message } To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message