[PATCH] bird.init: Added a check_config function and call it prior of, start and reload

Dmitry S. Nikolaev dnikolaev at mega-net.ru
Mon Oct 6 06:05:44 CEST 2014


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

---
With best regards, Dmitry S. Nikolaev

Moscow, Russia
mail: dnikolaev at mega-net.ru

On 05.10.2014 23:47, Pavlos Parissis wrote:
> Hi,
>
> This another patch for the init script which adds a check_config
> function and call it prior of, start and reload.
>
> It should be applied on top the other patch I sent on 2nd Sep.
>
> Cheers,
> Pavlos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20141006/6c7fcf3f/attachment-0001.html>


More information about the Bird-users mailing list