diff options
author | Daniil Baturin <daniil@vyos.io> | 2021-07-08 08:48:15 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2021-07-08 08:48:15 -0500 |
commit | e6bce67f2ab25541f4a20e3147ea32ff0464aa9d (patch) | |
tree | beb0d6f4feeb5b5cbe5bf16f17febeeb1bd4cbe5 /op-mode-definitions | |
parent | 63713fc60c0fff8a6c6eabcba21191b347bfb8b4 (diff) | |
download | vyos-1x-e6bce67f2ab25541f4a20e3147ea32ff0464aa9d.tar.gz vyos-1x-e6bce67f2ab25541f4a20e3147ea32ff0464aa9d.zip |
T3663: add pre_hook argument to util.wait_for_inotify
When waiting for processes that don't take long,
we need add an inotify watcher _before_ starting that process.
The pre-hook arguments allows the user to pass a () -> () anonymous function
to be called before adding a watch.
Diffstat (limited to 'op-mode-definitions')
0 files changed, 0 insertions, 0 deletions