From owner-freebsd-ports@FreeBSD.ORG Wed Apr 2 21:50:14 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 876C337B401 for ; Wed, 2 Apr 2003 21:50:14 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F60A43F3F for ; Wed, 2 Apr 2003 21:50:13 -0800 (PST) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h335oAcx019827 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 3 Apr 2003 07:50:12 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)h335o9dY019826; Thu, 3 Apr 2003 07:50:10 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.12.9/8.12.8) with ESMTP id h335mrNw003533; Thu, 3 Apr 2003 07:48:58 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.12.9/8.12.8/Submit) id h335mrgR003532; Thu, 3 Apr 2003 07:48:53 +0200 (CEST) Date: Thu, 3 Apr 2003 07:48:53 +0200 From: Andreas Klemm To: Lev Walkin Message-ID: <20030403054853.GB3051@titan.klemm.apsfilter.org> References: <20030402080721.GA78889@titan.klemm.apsfilter.org> <3E8B762C.1060508@netli.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline In-Reply-To: <3E8B762C.1060508@netli.com> X-Operating-System: FreeBSD 4.8-RC X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.3i cc: ports@FreeBSD.org Subject: Re: ipcad start/stop script X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 05:50:14 -0000 --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--