ipcad start/stop script
Lev Walkin
vlm at netli.com
Wed Apr 2 22:29:30 PST 2003
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 at netli.com
More information about the freebsd-ports
mailing list