[mythtv-users] usb mount

James Linder jam at tigger.ws
Mon Jan 1 14:53:43 UTC 2024



> On Jan 1, 2024, at 22:46, Mike Hodson <mystica at gmail.com> wrote:
> 
> 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’ 

Thanks :-)
James


More information about the mythtv-users mailing list