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