[PATCH] bird.init: Added a check_config function and call it prior of, start and reload
Ondrej Zajicek
santiago at crfreenet.org
Mon Oct 6 23:24:16 CEST 2014
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 at 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."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20141006/fc1cd037/attachment-0001.asc>
More information about the Bird-users
mailing list