From owner-freebsd-questions Mon Jan 8 20:50:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from crunch.shivakaul.com (unknown [166.84.151.100]) by hub.freebsd.org (Postfix) with SMTP id D993F37B401 for ; Mon, 8 Jan 2001 20:49:56 -0800 (PST) Received: (qmail 68525 invoked by uid 0); 8 Jan 2001 09:55:03 -0000 Received: from unknown (HELO taco) (192.168.0.2) by 166.84.151.100 with SMTP; 8 Jan 2001 09:55:03 -0000 Message-ID: <001901c079f8$5cc5efa0$0200a8c0@taco> From: "shivak" To: "freebsd-questions" References: <000b01c079f4$7c3800c0$0200a8c0@taco> <20010108233824.A511@cae88-102-101.sc.rr.com> Subject: Re: peculiar rc.d behavior Date: Mon, 8 Jan 2001 23:55:18 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Wild guess... Does the filename end with '.sh'? It must, or it > won't run. > Yeah, the full pathname is /usr/local/etc/rc.d/pop3d.sh > On Mon, Jan 08, 2001 at 11:27:32PM -0500, shivak wrote: > > hi, > > > > all my local scripts under /usr/local/etc/rc.d work fine....except for > > one of them. here it is: > > > > #!/bin/sh > > case "$1" in > > start ) echo "qmail-pop3d started" > > tcpserver -v -R 0 pop3 /var/qmail/bin/qmail-popup \ > > crunch.shivakaul.com \ > > /usr/local/bin/checkpassword /var/qmail/bin/qmail-pop3d \ > > Maildir 2>&1 | \ > > /var/qmail/bin/splogger pop3d & > > echo $! > /var/run/qmail-pop3d.pid > > ;; > > > > stop ) echo "qmail-pop3d stopped" > > kill `cat /var/run/qmail-pop3d.pid` > > rm -f /var/run/qmail-pop3d.pid > > ;; > > > > * ) echo "Usage: pop3d.sh {start | stop}" > > exit 1 > > ;; > > esac > > > > for some reason, this script does not execute on boot (yeah its perms > > are correct). when i manually execute it everything works fine......what > > could the problem be? > > > > > > > > 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