github.com/insomniacslk/u-root@v0.0.0-20200717035308-96b791510d76/pkg/boot/grub/testdata_new/qubes_3_2_boot/grub2/grub.cfg (about)

     1  #
     2  # DO NOT EDIT THIS FILE
     3  #
     4  # It is automatically generated by grub2-mkconfig using templates
     5  # from /etc/grub.d and settings from /etc/default/grub
     6  #
     7  
     8  ### BEGIN /etc/grub.d/00_header ###
     9  set pager=1
    10  
    11  if [ -s $prefix/grubenv ]; then
    12    load_env
    13  fi
    14  if [ "${next_entry}" ] ; then
    15     set default="${next_entry}"
    16     set next_entry=
    17     save_env next_entry
    18     set boot_once=true
    19  else
    20     set default="0"
    21  fi
    22  
    23  if [ x"${feature_menuentry_id}" = xy ]; then
    24    menuentry_id_option="--id"
    25  else
    26    menuentry_id_option=""
    27  fi
    28  
    29  export menuentry_id_option
    30  
    31  if [ "${prev_saved_entry}" ]; then
    32    set saved_entry="${prev_saved_entry}"
    33    save_env saved_entry
    34    set prev_saved_entry=
    35    save_env prev_saved_entry
    36    set boot_once=true
    37  fi
    38  
    39  function savedefault {
    40    if [ -z "${boot_once}" ]; then
    41      saved_entry="${chosen}"
    42      save_env saved_entry
    43    fi
    44  }
    45  
    46  function load_video {
    47    if [ x$feature_all_video_module = xy ]; then
    48      insmod all_video
    49    else
    50      insmod efi_gop
    51      insmod efi_uga
    52      insmod ieee1275_fb
    53      insmod vbe
    54      insmod vga
    55      insmod video_bochs
    56      insmod video_cirrus
    57    fi
    58  }
    59  
    60  if loadfont unicode ; then
    61    set gfxmode=auto
    62    load_video
    63    insmod gfxterm
    64    set locale_dir=$prefix/locale
    65    set lang=en_US
    66    insmod gettext
    67  fi
    68  terminal_output gfxterm
    69  if [ x$feature_timeout_style = xy ] ; then
    70    set timeout_style=menu
    71    set timeout=5
    72  # Fallback normal timeout code in case the timeout_style feature is
    73  # unavailable.
    74  else
    75    set timeout=5
    76  fi
    77  ### END /etc/grub.d/00_header ###
    78  
    79  ### BEGIN /etc/grub.d/01_users ###
    80  if [ -f ${prefix}/user.cfg ]; then
    81    source ${prefix}/user.cfg
    82    if [ -n "${GRUB2_PASSWORD}" ]; then
    83      set superusers="root"
    84      export superusers
    85      password_pbkdf2 root ${GRUB2_PASSWORD}
    86    fi
    87  fi
    88  ### END /etc/grub.d/01_users ###
    89  
    90  ### BEGIN /etc/grub.d/20_linux_xen ###
    91  menuentry 'Qubes, with Xen hypervisor' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-simple-UUID3' {
    92  	insmod part_msdos
    93  	insmod ext2
    94  	set root='hd0,msdos1'
    95  	if [ x$feature_platform_search_hint = xy ]; then
    96  	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
    97  	else
    98  	  search --no-floppy --fs-uuid --set=root UUID1
    99  	fi
   100  	echo	'Loading Xen 4.6.5 ...'
   101          if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   102              xen_rm_opts=
   103          else
   104              xen_rm_opts="no-real-mode edd=off"
   105          fi
   106  	multiboot	/xen-4.6.5.gz placeholder   ${xen_rm_opts}
   107  	echo	'Loading Linux 4.4.67-13.pvops.qubes.x86_64 ...'
   108  	module	/vmlinuz-4.4.67-13.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro  rd.qubes.hide_all_usb 
   109  	echo	'Loading initial ramdisk ...'
   110  	module	--nounzip   /initramfs-4.4.67-13.pvops.qubes.x86_64.img
   111  }
   112  submenu 'Advanced options for Qubes (with Xen hypervisor)' $menuentry_id_option 'gnulinux-advanced-UUID3' {
   113  	submenu 'Xen hypervisor, version 4.6.5' $menuentry_id_option 'xen-hypervisor-4.6.5-UUID3' {
   114  		menuentry 'Qubes, with Xen 4.6.5 and Linux 4.4.67-13.pvops.qubes.x86_64' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-13.pvops.qubes.x86_64-advanced-UUID3' {
   115  			insmod part_msdos
   116  			insmod ext2
   117  			set root='hd0,msdos1'
   118  			if [ x$feature_platform_search_hint = xy ]; then
   119  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   120  			else
   121  			  search --no-floppy --fs-uuid --set=root UUID1
   122  			fi
   123  			echo	'Loading Xen 4.6.5 ...'
   124  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   125  		            xen_rm_opts=
   126  		        else
   127  		            xen_rm_opts="no-real-mode edd=off"
   128  		        fi
   129  			multiboot	/xen-4.6.5.gz placeholder   ${xen_rm_opts}
   130  			echo	'Loading Linux 4.4.67-13.pvops.qubes.x86_64 ...'
   131  			module	/vmlinuz-4.4.67-13.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro  rd.qubes.hide_all_usb 
   132  			echo	'Loading initial ramdisk ...'
   133  			module	--nounzip   /initramfs-4.4.67-13.pvops.qubes.x86_64.img
   134  		}
   135  		menuentry 'Qubes, with Xen 4.6.5 and Linux 4.4.67-13.pvops.qubes.x86_64 (recovery mode)' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-13.pvops.qubes.x86_64-recovery-UUID3' {
   136  			insmod part_msdos
   137  			insmod ext2
   138  			set root='hd0,msdos1'
   139  			if [ x$feature_platform_search_hint = xy ]; then
   140  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   141  			else
   142  			  search --no-floppy --fs-uuid --set=root UUID1
   143  			fi
   144  			echo	'Loading Xen 4.6.5 ...'
   145  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   146  		            xen_rm_opts=
   147  		        else
   148  		            xen_rm_opts="no-real-mode edd=off"
   149  		        fi
   150  			multiboot	/xen-4.6.5.gz placeholder  ${xen_rm_opts}
   151  			echo	'Loading Linux 4.4.67-13.pvops.qubes.x86_64 ...'
   152  			module	/vmlinuz-4.4.67-13.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro single  rd.qubes.hide_all_usb
   153  			echo	'Loading initial ramdisk ...'
   154  			module	--nounzip   /initramfs-4.4.67-13.pvops.qubes.x86_64.img
   155  		}
   156  		menuentry 'Qubes, with Xen 4.6.5 and Linux 4.4.67-12.pvops.qubes.x86_64' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-12.pvops.qubes.x86_64-advanced-UUID3' {
   157  			insmod part_msdos
   158  			insmod ext2
   159  			set root='hd0,msdos1'
   160  			if [ x$feature_platform_search_hint = xy ]; then
   161  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   162  			else
   163  			  search --no-floppy --fs-uuid --set=root UUID1
   164  			fi
   165  			echo	'Loading Xen 4.6.5 ...'
   166  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   167  		            xen_rm_opts=
   168  		        else
   169  		            xen_rm_opts="no-real-mode edd=off"
   170  		        fi
   171  			multiboot	/xen-4.6.5.gz placeholder   ${xen_rm_opts}
   172  			echo	'Loading Linux 4.4.67-12.pvops.qubes.x86_64 ...'
   173  			module	/vmlinuz-4.4.67-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro  rd.qubes.hide_all_usb 
   174  			echo	'Loading initial ramdisk ...'
   175  			module	--nounzip   /initramfs-4.4.67-12.pvops.qubes.x86_64.img
   176  		}
   177  		menuentry 'Qubes, with Xen 4.6.5 and Linux 4.4.67-12.pvops.qubes.x86_64 (recovery mode)' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-12.pvops.qubes.x86_64-recovery-UUID3' {
   178  			insmod part_msdos
   179  			insmod ext2
   180  			set root='hd0,msdos1'
   181  			if [ x$feature_platform_search_hint = xy ]; then
   182  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   183  			else
   184  			  search --no-floppy --fs-uuid --set=root UUID1
   185  			fi
   186  			echo	'Loading Xen 4.6.5 ...'
   187  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   188  		            xen_rm_opts=
   189  		        else
   190  		            xen_rm_opts="no-real-mode edd=off"
   191  		        fi
   192  			multiboot	/xen-4.6.5.gz placeholder  ${xen_rm_opts}
   193  			echo	'Loading Linux 4.4.67-12.pvops.qubes.x86_64 ...'
   194  			module	/vmlinuz-4.4.67-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro single  rd.qubes.hide_all_usb
   195  			echo	'Loading initial ramdisk ...'
   196  			module	--nounzip   /initramfs-4.4.67-12.pvops.qubes.x86_64.img
   197  		}
   198  		menuentry 'Qubes, with Xen 4.6.5 and Linux 4.4.62-12.pvops.qubes.x86_64' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.62-12.pvops.qubes.x86_64-advanced-UUID3' {
   199  			insmod part_msdos
   200  			insmod ext2
   201  			set root='hd0,msdos1'
   202  			if [ x$feature_platform_search_hint = xy ]; then
   203  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   204  			else
   205  			  search --no-floppy --fs-uuid --set=root UUID1
   206  			fi
   207  			echo	'Loading Xen 4.6.5 ...'
   208  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   209  		            xen_rm_opts=
   210  		        else
   211  		            xen_rm_opts="no-real-mode edd=off"
   212  		        fi
   213  			multiboot	/xen-4.6.5.gz placeholder   ${xen_rm_opts}
   214  			echo	'Loading Linux 4.4.62-12.pvops.qubes.x86_64 ...'
   215  			module	/vmlinuz-4.4.62-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro  rd.qubes.hide_all_usb 
   216  			echo	'Loading initial ramdisk ...'
   217  			module	--nounzip   /initramfs-4.4.62-12.pvops.qubes.x86_64.img
   218  		}
   219  		menuentry 'Qubes, with Xen 4.6.5 and Linux 4.4.62-12.pvops.qubes.x86_64 (recovery mode)' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.62-12.pvops.qubes.x86_64-recovery-UUID3' {
   220  			insmod part_msdos
   221  			insmod ext2
   222  			set root='hd0,msdos1'
   223  			if [ x$feature_platform_search_hint = xy ]; then
   224  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   225  			else
   226  			  search --no-floppy --fs-uuid --set=root UUID1
   227  			fi
   228  			echo	'Loading Xen 4.6.5 ...'
   229  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   230  		            xen_rm_opts=
   231  		        else
   232  		            xen_rm_opts="no-real-mode edd=off"
   233  		        fi
   234  			multiboot	/xen-4.6.5.gz placeholder  ${xen_rm_opts}
   235  			echo	'Loading Linux 4.4.62-12.pvops.qubes.x86_64 ...'
   236  			module	/vmlinuz-4.4.62-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro single  rd.qubes.hide_all_usb
   237  			echo	'Loading initial ramdisk ...'
   238  			module	--nounzip   /initramfs-4.4.62-12.pvops.qubes.x86_64.img
   239  		}
   240  	}
   241  	submenu 'Xen hypervisor, version 4.6.5-heads' $menuentry_id_option 'xen-hypervisor-4.6.5-heads-UUID3' {
   242  		menuentry 'Qubes, with Xen 4.6.5-heads and Linux 4.4.67-13.pvops.qubes.x86_64' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-13.pvops.qubes.x86_64-advanced-UUID3' {
   243  			insmod part_msdos
   244  			insmod ext2
   245  			set root='hd0,msdos1'
   246  			if [ x$feature_platform_search_hint = xy ]; then
   247  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   248  			else
   249  			  search --no-floppy --fs-uuid --set=root UUID1
   250  			fi
   251  			echo	'Loading Xen 4.6.5-heads ...'
   252  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   253  		            xen_rm_opts=
   254  		        else
   255  		            xen_rm_opts="no-real-mode edd=off"
   256  		        fi
   257  			multiboot	/xen-4.6.5-heads.gz placeholder   ${xen_rm_opts}
   258  			echo	'Loading Linux 4.4.67-13.pvops.qubes.x86_64 ...'
   259  			module	/vmlinuz-4.4.67-13.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro  rd.qubes.hide_all_usb 
   260  			echo	'Loading initial ramdisk ...'
   261  			module	--nounzip   /initramfs-4.4.67-13.pvops.qubes.x86_64.img
   262  		}
   263  		menuentry 'Qubes, with Xen 4.6.5-heads and Linux 4.4.67-13.pvops.qubes.x86_64 (recovery mode)' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-13.pvops.qubes.x86_64-recovery-UUID3' {
   264  			insmod part_msdos
   265  			insmod ext2
   266  			set root='hd0,msdos1'
   267  			if [ x$feature_platform_search_hint = xy ]; then
   268  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   269  			else
   270  			  search --no-floppy --fs-uuid --set=root UUID1
   271  			fi
   272  			echo	'Loading Xen 4.6.5-heads ...'
   273  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   274  		            xen_rm_opts=
   275  		        else
   276  		            xen_rm_opts="no-real-mode edd=off"
   277  		        fi
   278  			multiboot	/xen-4.6.5-heads.gz placeholder  ${xen_rm_opts}
   279  			echo	'Loading Linux 4.4.67-13.pvops.qubes.x86_64 ...'
   280  			module	/vmlinuz-4.4.67-13.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro single  rd.qubes.hide_all_usb
   281  			echo	'Loading initial ramdisk ...'
   282  			module	--nounzip   /initramfs-4.4.67-13.pvops.qubes.x86_64.img
   283  		}
   284  		menuentry 'Qubes, with Xen 4.6.5-heads and Linux 4.4.67-12.pvops.qubes.x86_64' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-12.pvops.qubes.x86_64-advanced-UUID3' {
   285  			insmod part_msdos
   286  			insmod ext2
   287  			set root='hd0,msdos1'
   288  			if [ x$feature_platform_search_hint = xy ]; then
   289  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   290  			else
   291  			  search --no-floppy --fs-uuid --set=root UUID1
   292  			fi
   293  			echo	'Loading Xen 4.6.5-heads ...'
   294  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   295  		            xen_rm_opts=
   296  		        else
   297  		            xen_rm_opts="no-real-mode edd=off"
   298  		        fi
   299  			multiboot	/xen-4.6.5-heads.gz placeholder   ${xen_rm_opts}
   300  			echo	'Loading Linux 4.4.67-12.pvops.qubes.x86_64 ...'
   301  			module	/vmlinuz-4.4.67-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro  rd.qubes.hide_all_usb 
   302  			echo	'Loading initial ramdisk ...'
   303  			module	--nounzip   /initramfs-4.4.67-12.pvops.qubes.x86_64.img
   304  		}
   305  		menuentry 'Qubes, with Xen 4.6.5-heads and Linux 4.4.67-12.pvops.qubes.x86_64 (recovery mode)' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.67-12.pvops.qubes.x86_64-recovery-UUID3' {
   306  			insmod part_msdos
   307  			insmod ext2
   308  			set root='hd0,msdos1'
   309  			if [ x$feature_platform_search_hint = xy ]; then
   310  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   311  			else
   312  			  search --no-floppy --fs-uuid --set=root UUID1
   313  			fi
   314  			echo	'Loading Xen 4.6.5-heads ...'
   315  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   316  		            xen_rm_opts=
   317  		        else
   318  		            xen_rm_opts="no-real-mode edd=off"
   319  		        fi
   320  			multiboot	/xen-4.6.5-heads.gz placeholder  ${xen_rm_opts}
   321  			echo	'Loading Linux 4.4.67-12.pvops.qubes.x86_64 ...'
   322  			module	/vmlinuz-4.4.67-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro single  rd.qubes.hide_all_usb
   323  			echo	'Loading initial ramdisk ...'
   324  			module	--nounzip   /initramfs-4.4.67-12.pvops.qubes.x86_64.img
   325  		}
   326  		menuentry 'Qubes, with Xen 4.6.5-heads and Linux 4.4.62-12.pvops.qubes.x86_64' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.62-12.pvops.qubes.x86_64-advanced-UUID3' {
   327  			insmod part_msdos
   328  			insmod ext2
   329  			set root='hd0,msdos1'
   330  			if [ x$feature_platform_search_hint = xy ]; then
   331  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   332  			else
   333  			  search --no-floppy --fs-uuid --set=root UUID1
   334  			fi
   335  			echo	'Loading Xen 4.6.5-heads ...'
   336  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   337  		            xen_rm_opts=
   338  		        else
   339  		            xen_rm_opts="no-real-mode edd=off"
   340  		        fi
   341  			multiboot	/xen-4.6.5-heads.gz placeholder   ${xen_rm_opts}
   342  			echo	'Loading Linux 4.4.62-12.pvops.qubes.x86_64 ...'
   343  			module	/vmlinuz-4.4.62-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro  rd.qubes.hide_all_usb 
   344  			echo	'Loading initial ramdisk ...'
   345  			module	--nounzip   /initramfs-4.4.62-12.pvops.qubes.x86_64.img
   346  		}
   347  		menuentry 'Qubes, with Xen 4.6.5-heads and Linux 4.4.62-12.pvops.qubes.x86_64 (recovery mode)' --class gnu-linux --class gnu --class os --class xen $menuentry_id_option 'xen-gnulinux-4.4.62-12.pvops.qubes.x86_64-recovery-UUID3' {
   348  			insmod part_msdos
   349  			insmod ext2
   350  			set root='hd0,msdos1'
   351  			if [ x$feature_platform_search_hint = xy ]; then
   352  			  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1  UUID1
   353  			else
   354  			  search --no-floppy --fs-uuid --set=root UUID1
   355  			fi
   356  			echo	'Loading Xen 4.6.5-heads ...'
   357  		        if [ "$grub_platform" = "pc" -o "$grub_platform" = "" ]; then
   358  		            xen_rm_opts=
   359  		        else
   360  		            xen_rm_opts="no-real-mode edd=off"
   361  		        fi
   362  			multiboot	/xen-4.6.5-heads.gz placeholder  ${xen_rm_opts}
   363  			echo	'Loading Linux 4.4.62-12.pvops.qubes.x86_64 ...'
   364  			module	/vmlinuz-4.4.62-12.pvops.qubes.x86_64 placeholder root=/dev/mapper/luks-UUID2 ro single  rd.qubes.hide_all_usb
   365  			echo	'Loading initial ramdisk ...'
   366  			module	--nounzip   /initramfs-4.4.62-12.pvops.qubes.x86_64.img
   367  		}
   368  	}
   369  }
   370  
   371  ### END /etc/grub.d/20_linux_xen ###
   372  
   373  ### BEGIN /etc/grub.d/20_ppc_terminfo ###
   374  ### END /etc/grub.d/20_ppc_terminfo ###
   375  
   376  ### BEGIN /etc/grub.d/30_os-prober ###
   377  ### END /etc/grub.d/30_os-prober ###
   378  
   379  ### BEGIN /etc/grub.d/40_custom ###
   380  # This file provides an easy way to add custom menu entries.  Simply type the
   381  # menu entries you want to add after this comment.  Be careful not to change
   382  # the 'exec tail' line above.
   383  ### END /etc/grub.d/40_custom ###
   384  
   385  ### BEGIN /etc/grub.d/41_custom ###
   386  if [ -f  ${config_directory}/custom.cfg ]; then
   387    source ${config_directory}/custom.cfg
   388  elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
   389    source $prefix/custom.cfg;
   390  fi
   391  ### END /etc/grub.d/41_custom ###