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> 2009-07-05 Bean <bean123ch@gmail.com>
* conf/common.rmk (lua_mode_SOURCES): Add script/lua/lstrlib.c. * conf/common.rmk (lua_mode_SOURCES): Add script/lua/lstrlib.c.

View file

@ -26,8 +26,8 @@ case "${GRUB_DISTRIBUTOR}" in
*) OS="FreeBSD" ;; *) OS="FreeBSD" ;;
esac esac
if test -e /boot/devices.hints ; then if test -e /boot/device.hints ; then
devices=/boot/devices.hints devices=/boot/device.hints
fi fi
if test -e /boot/kernel/kernel ; then 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 elseif (grub.file_exist (root .. "kernel.sys")) then
title = "FreeDOS" title = "FreeDOS"
elseif (grub.file_exist (root .. "boot/loader") and 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" .. source = "root (" .. device .. ")\nfreebsd /boot/loader" ..
"\nfreebsd_loadenv /boot/device.hints" "\nfreebsd_loadenv /boot/device.hints"
title = "FreeBSD" title = "FreeBSD"