ipcad start/stop script
Andreas Klemm
andreas at FreeBSD.org
Wed Apr 2 21:50:14 PST 2003
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 ///
--
Andreas Klemm - Powered by FreeBSD 4.7
Need a magic printfilter today ? -> http://www.apsfilter.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030403/b2acfdcc/attachment.bin
More information about the freebsd-ports
mailing list