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? -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."