On Wed, Aug 27, 2003 at 08:13:45PM +0200, Eduard Bloch wrote: > if /proc mounted: > if /proc/fb exists: > if(driver-listed-there matches choosen video card): > preset use_fbdev to true > preset priority to low > else > preset use_fbdev to false > preset priority to medium > fi > else > preset use_fbdev to false > preset priority to low > fi > else > preset use_fbdev to false > preset priority to medium > fi I'll bump all those priorities up one. low Very trivial items that have defaults that will work in the vast majority of cases; only control freaks see these. medium Normal items that have reasonable defaults. high Items that don't have a reasonable default. Given that UseFBDev just plain doesn't work sometimes (it does not work in the "vast majority" of cases), the lowest priority we can hope for is medium. However, I intend to continue my recent policy of capping the question priority at medium if there's already a configuration on the system. We'll also need to take these special cases into account: case "$FB_TYPE" in OFfb|VESA) # generic framebuffer that doesn't support UseFBDev ;; (The case is empty because the default is to not use UseFBDev.) Anyway, thanks for the pseudocode. -- G. Branden Robinson | A committee is a life form with six Debian GNU/Linux | or more legs and no brain. branden@debian.org | -- Robert Heinlein http://people.debian.org/~branden/ |
Attachment:
pgpFpM6dlwkiV.pgp
Description: PGP signature