Date: Tue, 20 Feb 2001 11:39:10 -0800 From: Drew Tomlinson <drewt@writeme.com> To: "'wjm@ciberlynx.net'" <wjm@tiger.ciberlynx.net> Cc: "'FreeBSD Questions (E-mail)'" <freebsd-questions@FreeBSD.ORG> Subject: RE: Newbie Help Diagnosing Startup Script Message-ID: <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF854@ldcmsx01.lc.ca.gov> In-Reply-To: <BA5D0CE1CBB2D411B6AA00A0CC3F02390AF853@ldcmsx01.lc.ca.gov>
next in thread | previous in thread | raw e-mail | index | archive | help
> -----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA5D0CE1CBB2D411B6AA00A0CC3F02390AF854>