From owner-freebsd-questions Tue Feb 20 11:46:14 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lcmail2.lc.ca.gov (lcmail2.lc.ca.gov [165.107.12.11]) by hub.freebsd.org (Postfix) with ESMTP id 3174237B4EC for ; Tue, 20 Feb 2001 11:46:07 -0800 (PST) (envelope-from drewt@writeme.com) Received: from CONVERSION-DAEMON by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) id <0G9200L01MUV1S@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Tue, 20 Feb 2001 11:45:26 -0800 (PST) Received: from tagalong ([165.107.42.167]) by lcmail2.lc.ca.gov (PMDF V5.2-27 #40821) with SMTP id <0G9200K15MUQHM@lcmail2.lc.ca.gov> for freebsd-questions@FreeBSD.ORG; Tue, 20 Feb 2001 11:44:53 -0800 (PST) Date: Tue, 20 Feb 2001 11:39:10 -0800 From: Drew Tomlinson Subject: RE: Newbie Help Diagnosing Startup Script In-reply-to: To: "'wjm@ciberlynx.net'" Cc: "'FreeBSD Questions (E-mail)'" Message-id: MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Content-type: text/plain; charset="us-ascii" Content-transfer-encoding: 7bit Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > -----Original Message----- > From: Drew Tomlinson [mailto:drewt@writeme.com] > Sent: Tuesday, February 20, 2001 11:19 AM > To: 'wjm@ciberlynx.net' > Cc: 'FreeBSD Questions (E-mail)' > Subject: RE: Newbie Help Diagnosing Startup Script > > > > -----Original Message----- > > From: wjm@ciberlynx.net [mailto:wjm@tiger.ciberlynx.net] > > Sent: Tuesday, February 20, 2001 10:36 AM > > To: Drew Tomlinson > > Cc: 'FreeBSD Questions (E-mail)' > > Subject: RE: Newbie Help Diagnosing Startup Script > > > > > > On Tue, 20 Feb 2001, Drew Tomlinson wrote: > > > > > > -----Original Message----- > > > > From: wjm@ciberlynx.net [mailto:wjm@tiger.ciberlynx.net] > > > > Sent: Tuesday, February 20, 2001 9:35 AM > > > > To: Tomlinson, Drew > > > > Cc: 'FreeBSD Questions (E-mail)' > > > > Subject: Re: Newbie Help Diagnosing Startup Script > > > > > > [snip] > > > > > > > i'd keep it simple as such: > > > > > > > > #!/bin/sh > > > > # > > > > > > > > [ -x /usr/local/bin/dynipclient ] && > > > > /usr/local/bin/dynipclient && echo -n > > > > ' dynipclient' > > > > > > Thanks but as I understand it, that is not a correct > startup script. > > > Although it will work, it does not pass the "start" and > > "stop" parameters > > > that FSBD v4 and above looks for. But I will try it and > > see if it makes a > > > difference. > > > > > > Drew > > > > > > [snip] > > > > > > > I was under the general impression you wish to have this > script run at > > start time? > > > > > stop) echo -n ' dynipclient' > > > > This merely echos "dynipclient"... > > You're correct. The line should read "stop) echo -n ' > dynipclient -k'". > I missed a little in my cut and paste. > > Thanks! > > Drew OK, now the "lights" are on. I now understand that the stop command does nothing more that print "dynipclient -k" to the screen. What would be the proper line that would equal typing "dynipclient -k" at the command prompt? I tried copying the start part and adding a "-k" but that didn't work. Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message