Date: Sun, 17 Jun 2001 10:42:01 -0400 (EDT) From: Joe Clarke <marcus@marcuscom.com> To: Dru <genisis@istar.ca> Cc: <questions@FreeBSD.ORG> Subject: Re: script not found in /usr/local/etc/rc.d Message-ID: <20010617104121.S26682-100000@shumai.marcuscom.com> In-Reply-To: <20010617084410.H37439-200000@x1-6-00-50-ba-de-36-33.kico1.on.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Yep. Take a look at /usr/sbin/mnwclient. I bet it points to /usr/local/bin/perl, or some other Perl path that doesn't exist on your system. Change that, and everything should work. Joe Clarke On Sun, 17 Jun 2001, Dru wrote: > > I've added a script called mnwclient.sh to /usr/local/etc/rc.d: > > ls -l /usr/local/etc/rc.d/mnwclient.sh > -rwxr-xr-x 1 root wheel 635 Jun 17 08:07 /usr/local/etc/rc.d/mnwclient.sh* > > file /usr/local/etc/rc.d/mnwclient.sh > /usr/local/etc/rc.d/mnwclient.sh: Bourne shell script text executable > > It refers to an executable called mnwclient: > ls -l /usr/sbin/mnwclient > -rwxr-xr-x 1 root wheel 33518 Jun 17 08:07 /usr/sbin/mnwclient* > > file /usr/sbin/mnwclient > /usr/sbin/mnwclient: perl script text executable > > However, when I try to start the script manually or when I reboot, I get > an error message stating the script is not found: > > /etc/rc: /usr/local/etc/rc.d/mnwclient.sh: not found > > What am I missing here besides my sanity? I've attached the script if that > helps. > > TIA, > > Dru > 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?20010617104121.S26682-100000>