2009-07-05 Pavel Roskin <proski@gnu.org>

* util/grub.d/10_freebsd.in: Fix spelling of `device.hints' on
	FreeBSD.
	* util/osdetect.lua: Likewise.
This commit is contained in:
proski 2009-07-05 22:51:05 +00:00
parent b4a1dc7990
commit 46eeb6a264
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2009-07-05 Pavel Roskin <proski@gnu.org>
* util/grub.d/10_freebsd.in: Fix spelling of `device.hints' on
FreeBSD.
* util/osdetect.lua: Likewise.
2009-07-05 Bean <bean123ch@gmail.com>
* conf/common.rmk (lua_mode_SOURCES): Add script/lua/lstrlib.c.

View file

@ -26,8 +26,8 @@ case "${GRUB_DISTRIBUTOR}" in
*) OS="FreeBSD" ;;
esac
if test -e /boot/devices.hints ; then
devices=/boot/devices.hints
if test -e /boot/device.hints ; then
devices=/boot/device.hints
fi
if test -e /boot/kernel/kernel ; then

View file

@ -59,7 +59,7 @@ function enum_device (device, fs, uuid)
elseif (grub.file_exist (root .. "kernel.sys")) then
title = "FreeDOS"
elseif (grub.file_exist (root .. "boot/loader") and
grub.file_exist (root .. "boot/devices.hints")) then
grub.file_exist (root .. "boot/device.hints")) then
source = "root (" .. device .. ")\nfreebsd /boot/loader" ..
"\nfreebsd_loadenv /boot/device.hints"
title = "FreeBSD"