NUMADAPTERS=3This works for *one* system and only if the user manually sets the number of adapters. How could this be done in a "automagic" way to allow users to just plug the tuner and reboot?while [[ `find /dev/dvb -name 'adapter*' | wc -l` -lt $NUMADAPTERS
]]; do sleep 1; done
runvdr ...
could be used to count the number of adapters, and check that number in
a loop
against the expected number of adapters.