Index: ucs/base/univention-grub/debian/univention-grub.univention-config-registry =================================================================== --- ucs/base/univention-grub/debian/univention-grub.univention-config-registry (Revision 12439) +++ ucs/base/univention-grub/debian/univention-grub.univention-config-registry (Arbeitskopie) @@ -8,3 +8,5 @@ Variables: grub/append Variables: grub/vga Variables: grub/memtest86 +Variables: grub/default +Variables: grub/updatedefaultentry Index: ucs/base/univention-grub/debian/postinst =================================================================== --- ucs/base/univention-grub/debian/postinst (Revision 12439) +++ ucs/base/univention-grub/debian/postinst (Arbeitskopie) @@ -199,6 +199,9 @@ univention-baseconfig set kernel/postinst_hook?"/usr/sbin/update-grub" univention-baseconfig set grub/quiet?"yes" +univention-baseconfig set grub/default?"0" +univention-baseconfig set grub/updatedefaultentry?"false" + exit 0 Index: ucs/base/univention-grub/debian/univention-grub.univention-config-registry-variables =================================================================== --- ucs/base/univention-grub/debian/univention-grub.univention-config-registry-variables (Revision 12439) +++ ucs/base/univention-grub/debian/univention-grub.univention-config-registry-variables (Arbeitskopie) @@ -39,3 +39,21 @@ Description[en]=Kernel option "quiet" for the default entry Type=str Categories=system-base + +[grub/default] +Description[de]=Zu bootender Kernel, ausgehend von der Listenreihenfolge. (0 = oberster Kernel) +Description[en]=Kernel for booting. Number representing the position from the menue (0 = top) +Type=str +Categories=system-base + +[grub/updatedefaultentry] +Description[de]=Möglichkeit die Positionierung (default) automatisch anpassen zu lassen, falls ein neuer Kernel installiert wird +Description[en]=Should update-grub adjust the value of the default booted system +Type=str +Categories=system-base + +[grub/quiet] +Description[de]=Kernel-Option "quiet" für den Standardkernel +Description[en]=Kernel option "quiet" for the default entry +Type=str +Categories=system-base Index: ucs/base/univention-grub/conffiles/boot/grub/menu.lst =================================================================== --- ucs/base/univention-grub/conffiles/boot/grub/menu.lst (Revision 12439) +++ ucs/base/univention-grub/conffiles/boot/grub/menu.lst (Arbeitskopie) @@ -21,7 +21,7 @@ # is the entry saved with the command 'savedefault'. # WARNING: If you are using dmraid do not change this entry to 'saved' or your # array will desync and will not let you boot your system. -default 0 +default @%@grub/default@%@ ## timeout sec # Set a timeout, in SEC seconds, before automatically booting the default entry @@ -119,5 +119,5 @@ ## should update-grub adjust the value of the default booted system ## can be true or false -# updatedefaultentry=false +# updatedefaultentry=@%@grub/updatedefaultentry@%@