Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jun 2001 16:02:08 -0400 (EDT)
From:      Dru <genisis@istar.ca>
To:        Mike Meyer <mwm@mired.org>
Cc:        <questions@freebsd.org>
Subject:   Re: script not found in /usr/local/etc/rc.d
Message-ID:  <20010617160025.M48954-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>
In-Reply-To: <15148.64815.545449.372881@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <genisis@istar.ca> 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
> --
> Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010617160025.M48954-100000>