[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:27:42 CEST 2014


On 06/10/2014 11:24 μμ, Ondrej Zajicek wrote:
> On Mon, Oct 06, 2014 at 11:05:01PM +0200, Pavlos Parissis wrote:
>> 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?
> 
> I don't think so, it is not even used in Debian. I mostly ignored it as i
> was not aware whether it is used anywhere or it is just some historic
> relict, but it is probably used in RedHat, i guess?
> 

Yes, it used in Redhat. Debian ships a different one where they have
split to 2, one for each version of IP.

Cheers,
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/d773d91e/attachment-0001.asc>


More information about the Bird-users mailing list