<div dir="ltr">Hello,<br><div><div><div class="gmail_extra"><br></div><div class="gmail_extra">thanks for the tip.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 16 May 2013 20:41, Adam Williamson <span dir="ltr">&lt;<a href="mailto:awilliam@redhat.com" target="_blank">awilliam@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It&#39;s really neat stuff, and very easy to use: you just add a<br>
Condition(Something) statement to the .service file. For details on<br>
using these conditions, see &#39;man systemd.unit&#39; and just search for<br>
Condition, and you&#39;ll find a list of all the available Conditions and<br>
how to use them.<br></blockquote></div><br clear="all"></div><div class="gmail_extra">I have a question though, what is the best option in your opinion for a service that should start only on a UEFI based system?<br>If there&#39;s a way to check if Secure Boot is enabled that would be great.<br>
<br></div><div class="gmail_extra">Is there any official/best way to do the check in scripts / etc.?<br><br>Thanks,<br></div><div class="gmail_extra">--Simone<br><br></div><div class="gmail_extra"><br>-- <br><div dir="ltr">
You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson).<br><br><a href="http://xkcd.com/229/" target="_blank">http://xkcd.com/229/</a><br></div>
</div></div></div></div>