<div dir="ltr">Just a one simple feature:<div><br></div><div>I need to expose conditions as shown below:</div><div><br></div><div>File `mounted/20microsoft`:</div><div><br></div><div>```</div><div><div><font face="monospace, monospace"># This script looks for legacy BIOS bootloaders only. Skip if running UEFI</font></div><div><font face="monospace, monospace">if [ -d /sys/firmware/efi ] && [ -z "$WINOSDATA" ]; then</font></div><div><font face="monospace, monospace">        debug "Skipping legacy bootloaders on UEFI system"</font></div><div><font face="monospace, monospace">       if [ ! "$OSPROBES_FORCE_SCAN_LEGACY_ON_UEFI" = true ]; then exit 1; fi</font></div><div><font face="monospace, monospace">fi</font></div></div><div>```<br></div><div><div><br></div><div>And in File `mounted/05efi`:</div><div><br></div><div>```</div><div><div><font face="monospace, monospace"># This file is for UEFI platform only</font></div><div><font face="monospace, monospace">if [ ! -d /sys/firmware/efi ]; then</font></div><div><font face="monospace, monospace">        debug "Not on UEFI platform"</font></div><div><font face="monospace, monospace">        if [ ! "$OSPROBES_FORCE_SCAN_UEFI_ON_LEGACY" = true ]; then exit 1; fi</font></div><div><font face="monospace, monospace">fi</font></div></div><div>```</div><div><br></div><div><div><span style="color:rgb(51,51,51);font-family:arial,helvetica,sans-serif;font-size:14px;text-align:justify">If you dual boot and there are time conflicts between Windows and Ubuntu, this occurs because Ubuntu store the time on the hardware clock as UTC by default while Microsoft Windows stores the time as local time, thus causing conflicting times between Ubuntu and Windows.</span><br></div></div><div><span style="color:rgb(51,51,51);font-family:arial,helvetica,sans-serif;font-size:14px;text-align:justify"><br></span></div><div style="text-align:justify"><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:14px">I would like to use my own script and determine dual boot machines for setup it's hwclock with localtime.</span></font></div><div style="text-align:justify"><font color="#333333" face="arial, helvetica, sans-serif"><span style="font-size:14px">So as not to reinvent the wheel -</span></font><span style="font-size:14px;color:rgb(51,51,51);font-family:arial,helvetica,sans-serif"> I should to use os-prober to detect is other systems installed along side linux. Therefore override default behaviour.</span></div><div><br></div><div>Sorry for my bad english.</div><div><br></div><div>-- <br></div><div class="gmail_signature"><div dir="ltr"><div>Faithfully yours,<br></div><div><br></div><div>CVision Lab System Administrator</div><div>Vladimir Skubriev</div><div><br></div></div></div>
</div></div>