Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2003 22:29:07 -0800
From:      Lev Walkin <vlm@netli.com>
To:        Andreas Klemm <andreas@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: ipcad start/stop script
Message-ID:  <3E8BD4B3.8010609@netli.com>
In-Reply-To: <20030403054853.GB3051@titan.klemm.apsfilter.org>
References:  <20030402080721.GA78889@titan.klemm.apsfilter.org> <3E8B762C.1060508@netli.com> <20030403054853.GB3051@titan.klemm.apsfilter.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Andreas Klemm wrote:
> On Wed, Apr 02, 2003 at 03:45:48PM -0800, Lev Walkin wrote:
> 
>>what about
>>echo 'ipcad -rds 2>/dev/null && echo ipcad' >> /etc/rc.local
>>seems much simpler.
> 
> 
> I used an existing start stop script as template.
> 
> The test statements take care, that it only runs,
> if the ipcad binary is there to avoid unnecessary
> error messages and that it will be started only with
> a valid config.

my case avoids unnecessary error messages too :)

> Since your port doesn't install a standard config file
> PREFIX/etc/ipcad.conf, somebody who installs ipcad
> package for later usage would get failures after reboot
> because of the missing config file.

yes, it is intentional to not to override a possibly
existing one.



-- 
Lev Walkin
vlm@netli.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E8BD4B3.8010609>