
On Mon, 21 Aug 2006, Christian Boltz wrote:
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 :-(
Oh, regenerating those config files unconditional isn't an option, of course!
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.)
No, there isn't an easy way, I guess ;) Regards Christoph --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org