[mythtv-users] usb mount

Mike Hodson mystica at gmail.com
Mon Jan 1 14:46:38 UTC 2024

On Mon, Jan 1, 2024 at 7:31 AM James Linder <jam at tigger.ws> wrote:

> ExecStartPre=bash -c "while [ ! -b /dev/disk/by-label/MYTHTV ]; do sleep
> 1; done"

Even though its a bit pedantic, I will mention the "until" shell syntax,
which obviates the need to do a "while not" loop. To my eyes it just looks
better, but effectively functions the same.
'until [ -b  /dev/disk/by-label/MYTHTV ] ; do sleep 1; done'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240101/905c1994/attachment.htm>

More information about the mythtv-users mailing list