From owner-freebsd-questions Fri Jul 28 22:11:28 2000 Delivered-To: freebsd-questions@freebsd.org Received: from posgate.acis.com.au (posgate.acis.com.au [203.14.230.14]) by hub.freebsd.org (Postfix) with ESMTP id 645FD37BA25 for ; Fri, 28 Jul 2000 22:11:10 -0700 (PDT) (envelope-from andymac@bullseye.apana.org.au) Received: from bullseye.apana.org.au (uucp@localhost) by posgate.acis.com.au (8.9.3/8.9.3) with UUCP id OAA07213; Sat, 29 Jul 2000 14:57:11 +1000 Received: from bullseye.apana.org.au (central.apana.org.au [203.9.107.245]) by bullseye.apana.org.au (8.8.8/8.8.8) with SMTP id MAA12413; Sat, 29 Jul 2000 12:22:34 +1000 (EST) (envelope-from andymac@bullseye.apana.org.au) Date: Sat, 29 Jul 2000 12:13:53 +1000 (EST) From: Andrew MacIntyre To: Luke Mitchell Cc: "FreeBSD-Questions (E-mail)" Subject: Re: What are the steps to start a binary at startup? In-Reply-To: <216F15234CD5D311BBFA00484500A27701D291@FENCHURCH> Message-ID: X-X-Sender: andymac@bullseye.apana.org.au MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 28 Jul 2000, Luke Mitchell wrote: > The startup script is simply; > #!/bin/sh > [ -x /usr/sbin/bpalogin ] && /usr/sbin/bpalogin -c /etc/bpalogin.conf && > echo -n ' bpalogin' > > I've even tried running it in the foreground during startup to see if it > would exit, but it doesn't. Also tried running it with between "nohup" and > "&" with its 'remain in foreground' switch set. does bpalogin have any logging/debug capability? if it is using syslog, you might go looking for messages in one of the log files in /var/log. URL to the source? (of bpalogin) -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andrew.macintyre@aba.gov.au (work) | Snail: PO Box 370 andymac@bullseye.apana.org.au (play) | Belconnen ACT 2616 andymac@pcug.org.au (play2) | Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message