[PATCH] bird.init: Added a check_config function and call it prior of, start and reload
Pavlos Parissis
pavlos.parissis at gmail.com
Mon Oct 6 23:05:01 CEST 2014
On 06/10/2014 06:05 πμ, Dmitry S. Nikolaev wrote:
> Hi.
>
> Thanks for patch but hardcoded path:
>
> /usr/sbin/"${_bird}" -p -c /etc/"${_bird}".conf
>
> It`s not good for (such as) FreeBSD users.
>
> # whereis bird
> bird: /usr/local/sbin/bird /usr/ports/net/bird
>
> Default path to config: /usr/local/etc/bird.conf /usr/local/etc/bird6.conf
> I use path to config: /usr/local/etc/bird/bird.conf
> /usr/local/etc/bird/bird6.conf
>
But there are already paths hardcoded in the init script I found on the
repo. I failed to find any other scripts and I don't have access to BSD
systems. Does the current script work on BSD?
Thanks for getting back to me!
Pavlos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20141006/aad6404e/attachment-0001.asc>
More information about the Bird-users
mailing list