Date: Wed, 9 Jan 2008 21:13:07 -0600 From: "Scot Hetzel" <swhetzel@gmail.com> To: "Andrea Venturoli" <ml@netfence.it>, kay.abendroth@raxion.net Cc: freebsd-ports@freebsd.org Subject: Re: noip startup script Message-ID: <790a9fff0801091913i201ca8d4y67c8a8ad73775c0a@mail.gmail.com> In-Reply-To: <478535E0.3020007@netfence.it> References: <478535E0.3020007@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/9/08, Andrea Venturoli <ml@netfence.it> wrote: > Hello. > I installed the latest version of this port and it won't start > automatically, after the script was converted to the new rc system some > days ago. > > I put noip_enable="YES" in /etc/rc.conf and this seems to get through: > > # /usr/local/etc/rc.d/noip rcvar > # noip > $noip_enable=YES > > > However the deamon won't start. > It obviously does from the command line. > > Any hint? > There is an error in the rc.d script, the port dns/noip doesn't install bin/noip, instead it installs bin/noip2. But the script is setting "command=${PREFIX}/bin/noip", when it should be using "command=${PREFIX}/bin/noip2". Just change "command" variable in dns/noip/files/noip.in and/or PREFIX/etc/rc.d/noip to "command="%%PREFIX%%/bin/${name}2". Scot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?790a9fff0801091913i201ca8d4y67c8a8ad73775c0a>