firstboot and --reconfig

Féliciano Matias feliciano.matias at free.fr
Fri Aug 22 06:24:32 UTC 2003


Le jeu 21/08/2003 à 23:03, Brent Fox a écrit :
> On Thu, 2003-08-21 at 02:29, Féliciano Matias wrote:
> > [...]
> > Sorry, i am talking about the "--reconfig" flag in firstboot.
> > I find only one place where reconfig is "used" :
> >             if hasattr(obj, "moduleClass"):
> >                 if (self.doReconfig and (obj.moduleClass == "reconfig")):
> >                     self.moduleDict[int(obj.runPriority)] = obj
> >                 elif (not self.doReconfig and (obj.moduleClass != "reconfig")):
> >                     self.moduleDict[int(obj.runPriority)] = obj
> >             else:
> >                 self.moduleDict[int(obj.runPriority)] = obj
> > 
> > I am not a python programmer and perhaps I am wrong.
> 
> I'm not sure I understand the question.  The code you quoted above scans
> the modules that firstboot has found in /usr/share/firstboot/modules to
> see if any have a moduleClass variable that is set to "reconfig".  If
> any modules have this tag, they will only be shown if the reconfig flag
> has been passed to firstboot.

Humm?... vim /etc/rc.d/init.d/firstboot, ..., vim /usr/share/..., Damn!
... Yes!

Things are clear now.
Thanks for the reply and sorry for the previous mail.


> 
> Cheers,
>    Brent

-- 
Féliciano Matias <feliciano.matias at free.fr>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20030822/54879605/attachment.sig>


More information about the fedora-test-list mailing list