<div dir="ltr"><div dir="ltr">On Mon, Jan 1, 2024 at 7:31 AM James Linder <<a href="mailto:jam@tigger.ws">jam@tigger.ws</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">ExecStartPre=bash -c "while [ ! -b /dev/disk/by-label/MYTHTV ]; do sleep 1; done"<br></blockquote><div><br></div><div>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.</div><div>'until [ -b  /dev/disk/by-label/MYTHTV ] ; do sleep 1; done' </div><div><br></div><div>Mike</div><div><br></div></div></div>