Date: Mon, 8 Jan 2001 23:55:18 -0500 From: "shivak" <shivak@shivakaul.com> To: "freebsd-questions" <freebsd-questions@freebsd.org> Subject: Re: peculiar rc.d behavior Message-ID: <001901c079f8$5cc5efa0$0200a8c0@taco> References: <000b01c079f4$7c3800c0$0200a8c0@taco> <20010108233824.A511@cae88-102-101.sc.rr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001901c079f8$5cc5efa0$0200a8c0>