<br><br><div><span class="gmail_quote">On 2/24/06, <b class="gmail_sendername">J. Hartline</b> <<a href="mailto:jasperhartline@adelphia.net">jasperhartline@adelphia.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Essien Essien wrote:<br><br>><br>><br>>     The attached patch checks for firstboot and if its _not_ installed<br>>     disables it from running, hence eliminating the [FAIL] boottime<br>>     message that will occur otherwise.
<br>><br>> def tweak_firstboot_config (rootdir):<br>>       shf = sysconfig_file (rootdir, "firstboot")<br>>-      shf["RUN_FIRSTBOOT"] = "YES"<br>>+      if os.path.exists('/usr/sbin/'):
<br>>+              shf["RUN_FIRSTBOOT"] = "YES"<br>>+      else:<br>>+              shf["RUN_FIRSTBOOT"] = "NO"<br>>       shf.write ()<br>><br>><br>><br>Whether /usr/sbin exists or not, doesn't play any part if firstboot was
<br>installed, or am I overlooking something?</blockquote><div><br>
my bad. corrected patch attached. that should be /usr/sbin/firstboot.<br>
 </div><br>
</div><br>