Project

General

Profile

Feature #2815

Updated by Junxiao Shi almost 9 years ago

Startup Currently, in our startup scripts need we rely on arbitrarily selected sleep timeout to wait for NFD to be ready make sure that NFD/NRD is started before issuing nfdc commands for the initial configuration.   
 Currently, 

 Instead, we use an arbitrary-chosen sleep timeout, which could be insufficient/excessive on a slow/fast system. 

 We should use a notification mechanism to notify startup script when NFD is ready, eg. [`sd_notify`](http://www.freedesktop.org/software/systemd/man/sd_notify.html) for systemd. mechanism, e.g. provided by `sd_notify` (http://www.freedesktop.org/software/systemd/man/sd_notify.html)

Back