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

next in thread | previous in thread | raw e-mail | index | archive | help

--9zSXsLTf0vkW971A
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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.

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.

Starting ipcad without config file might be possible,
but concerning the security issues because of rsh
functionality, I wouldn't do so, if its not clear
how the defaults are ...

Anyway its a good idea to let the user browse the
fine example config file, to look, what needs to
be thought about / fine tuned, etc, to get what
they need.

	Andreas ///

--=20
Andreas Klemm - Powered by FreeBSD 4.7
Need a magic printfilter today ? -> http://www.apsfilter.org/

--9zSXsLTf0vkW971A
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+i8tEd3o+lGxvbLoRAjzJAJ9FoG57z1J2hniAHhQuIK80CJiP8QCeM1zu
qeOp8+hjSAA1stcNTlWm1Xk=
=4fWJ
-----END PGP SIGNATURE-----

--9zSXsLTf0vkW971A--



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