
Hello, Christian Boltz <opensuse@cboltz.de> [2006-08-21]:
Am Montag, 21. August 2006 11:11 schrieb Christoph Thiel:
to proceed with the SuSEconfig clearance initiative, let's take a look at SuSEconfig.gdm and SuSEconfig.wdm. Both of them are used to (re)generate config files, by reading some options from /etc/sysconfig/*. To get rid of those SuSEconfig scripts, their logic needs to be moved to /etc/init.d/xdm, to have it (re)generate the according config files prior to launching gdm or wdm.
Comments, criticism, better ideas?
Generating config files every time *dm is started is a bad idea IMHO. Reason: It is done _at every boot_ instead of "sometimes" after installing packages or alike. So you will speedup SuSEconfig, but slow down booting a bit :-(
Is there an easy way to make *dm (or the initscript) read the sysconfig file directly (without reducing speed) and then starting X with some parameters instead a config file? This would be the best solution. (If there are only one or two setting left that would require to regenerate config files, you should consider dropping this sysconfig variable.)
It could be done according to a time stamp, i.e. only if the sysconfig file changed. Checking a timestamp is fast, so I don't think that the slow down of the boot process is noticable by the user. Regards, Bernhard -- Pasteurs Theorie von Bazillen ist lächerliche Fiktion. -- Pierre Pachet, Professor der Physiologie in Toulouse (1872) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org