From owner-freebsd-questions Sun Jun 17 12:57:28 2001 Delivered-To: freebsd-questions@freebsd.org Received: from x1-6-00-50-ba-de-36-33.kico1.on.home.com (d141-119-162.home.cgocable.net [24.141.119.162]) by hub.freebsd.org (Postfix) with ESMTP id 2CFC337B406 for ; Sun, 17 Jun 2001 12:57:20 -0700 (PDT) (envelope-from genisis@istar.ca) Received: from localhost (genisis@localhost) by x1-6-00-50-ba-de-36-33.kico1.on.home.com (8.11.3/8.11.3) with ESMTP id f5HK29948962; Sun, 17 Jun 2001 16:02:09 -0400 (EDT) (envelope-from genisis@istar.ca) X-Authentication-Warning: x1-6-00-50-ba-de-36-33.kico1.on.home.com: genisis owned process doing -bs Date: Sun, 17 Jun 2001 16:02:08 -0400 (EDT) From: Dru X-X-Sender: To: Mike Meyer Cc: Subject: Re: script not found in /usr/local/etc/rc.d In-Reply-To: <15148.64815.545449.372881@guru.mired.org> Message-ID: <20010617160025.M48954-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Mike, You're a genius. Sending the script to vi revealed that every line ended with a pesky ^M character. A ":%! col -bx" in vi took care of that :) Thanks. Dru On Sun, 17 Jun 2001, Mike Meyer wrote: > Dru types: > > > > Hi Mike, > > > > Forgive the long post, as this time I'll include both scripts instead of > > sending them as attachments. (feel free to snip the appropriate portions) > > No problem with the long post. Sending them direct to me as > attachments would work; it's sending attachments to -questions - or > any other freebsd- list - that doesn't work properly, as the digester > throws out the MIME headers. > > Those scripts start fine for me - they complain about not being able > to open files, not about not being able to find the binary. My guess > is that the '#!/bin/sh' line in the mnwclient.sh script is mangled in > some way that is hidden by more. Try feeding it to sh directly. If > you've got a recent version of bash installed, try running it from > that as well - bash goes out of it's way to report bad interpreters. > > -- > Mike Meyer http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message