[Lunar-commits] CVS: moonbase/kernel/linux-2.6 CONFIGURE,1.2,1.3

Jaime Buffery nestu at lunar-linux.org
Sat Jan 8 00:08:23 UTC 2005


Update of /var/cvs/lunar/moonbase/kernel/linux-2.6
In directory espresso.foo-projects.org:/tmp/cvs-serv14644

Modified Files:
	CONFIGURE 
Log Message:
Put back the support for editing the bootloaders files


Index: CONFIGURE
===================================================================
RCS file: /var/cvs/lunar/moonbase/kernel/linux-2.6/CONFIGURE,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- CONFIGURE	27 Dec 2004 16:41:50 -0000	1.2
+++ CONFIGURE	8 Jan 2005 00:08:21 -0000	1.3
@@ -1,6 +1,19 @@
 mquery USE_GRUB "Configure this kernel to load from grub?" n
-mquery USE_LILO "Configure this kernel to load from lilo?" n
+
+if [ "`get_module_config USE_GRUB`" = "y" ]; then 
+    set_module_config "USE_LILO" "n" ; 
+else 
+    mquery USE_LILO "Configure this kernel to load from lilo?" n
+fi
+
 mquery PREFER_XCONFIG "Do you prefer xconfig over menuconfig?" n
-mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
+
+if [ "`get_module_config PREFER_XCONFIG`" = "y" ]; then
+    set_module_config "PREFER_MENUCONFIG" "n" ; 
+else 
+    mquery PREFER_MENUCONFIG "Do you prefer menuconfig over config?" y
+fi
+
 unset_module_config CONFIG_KERNEL
 mquery CONFIG_KERNEL "Configure linux kernel?" n
+



More information about the Lunar-commits mailing list