diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-09-01 21:18:32 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-09-01 21:18:34 +0200 |
commit | 6b7c267de3272bff74fa1321f81559d24a85f13f (patch) | |
tree | 51bea9a72764a5072f7db4b2b0a5deee54316809 /scripts/build-command-templates | |
parent | d48e5d8d196365862feae6943e97cbc803469cbb (diff) | |
download | vyos-1x-6b7c267de3272bff74fa1321f81559d24a85f13f.tar.gz vyos-1x-6b7c267de3272bff74fa1321f81559d24a85f13f.zip |
snmp.py: improve daemon startup
The previous implementation used a hardcoded 2 seconds sleep until the
daemon configuration was rendered by snmpd (user/password stuff).
Waiting 2 seconds is error prone and was replaced by reading the
configuration file until it shows a marker indicating that the file was
properly processed by snmpd.
Diffstat (limited to 'scripts/build-command-templates')
0 files changed, 0 insertions, 0 deletions