Factor out waiting for a condition
wait_until_some_condition_is_met constructs used here and there should be factored out in the Tails shell library.
Perhaps just moving to systemd (
Feature #5821) will solve most of these cases.
#5 Updated by intrigeri 2018-08-19 09:08:31
- Status changed from Confirmed to Resolved
We now have
try_for in our shell library. The places where they’re used are not good candidates for systemd-ification. Then I’ve reviewed all the places where we use
while in shell scripts and the only candidate is already tracked on Feature #7545 => closing :)