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