[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:18:07 CEST 2014
On Sun, Oct 05, 2014 at 09:47:08PM +0200, 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.
Hi
Why to do this? Explicit checking of config has some specific use cases
but it is IMHO pointless in standard init scripts. If we need return
values (to see if BIRD was properly started or reconfigured), we should
get proper return values from the primary commands (that means that
'birdc configure' should be used for reconfiguration instead of sending
HUP and i should ensure that birdc returns proper error code)
--
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/64866791/attachment-0001.asc>
More information about the Bird-users
mailing list