3 Make sure that /netbsd is the main boot menu entry.
4 Fix indentation for filesystem module.
6 --- util/grub.d/10_netbsd.in.orig 2012-07-25 13:23:50.000000000 +0000
7 +++ util/grub.d/10_netbsd.in
8 @@ -74,13 +74,13 @@ netbsd_load_fs_module ()
11 kmodule_rel=$(make_system_path_relative_to_its_root "$kmodule") || return
12 - prepare_grub_to_access_device $(${grub_probe} -t device "${kmodule}") | sed -e 's,^, ,'
13 + prepare_grub_to_access_device $(${grub_probe} -t device "${kmodule}") | sed -e 's,^, ,' | sed "s/^/$submenu_indentation/"
16 - printf "\tknetbsd_module_elf %s\n" "${kmodule_rel}"
17 + printf "\tknetbsd_module_elf %s\n" "${kmodule_rel}" | sed "s/^/$submenu_indentation/"
20 - printf "\tmodule %s\n" "${kmodule_rel}"
21 + printf "\tmodule %s\n" "${kmodule_rel}" | sed "s/^/$submenu_indentation/"
25 @@ -147,7 +147,7 @@ pattern="^ELF[^,]*executable.*statically
26 submenu_indentation=""
29 -for k in $(ls -t /netbsd*) ; do
30 +for k in /netbsd $(ls -t /netbsd?* 2>/dev/null) ; do
31 if ! grub_file_is_not_garbage "$k" ; then