Flag when ACPI has been disabled by the user so that sysinstall can do

something with it.
This commit is contained in:
scottl 2003-05-31 11:19:11 +00:00
parent 0cb8f83a58
commit 049e6a81c8

View File

@ -173,6 +173,7 @@ set-current
acpienabled? if
s" acpi_load" unsetenv
s" 1" s" hint.acpi.0.disabled" setenv
s" 1" s" loader.acpi_disabled_by_user" setenv
else
s" YES" s" acpi_load" setenv
s" 0" s" hint.acpi.0.disabled" setenv
@ -183,6 +184,7 @@ set-current
s" arch-i386" environment? if
s" acpi_load" unsetenv
s" 1" s" hint.acpi.0.disabled" setenv
s" 1" s" loader.acpi_disabled_by_user" setenv
then
s" 0" s" hw.ata.ata_dma" setenv
s" 0" s" hw.ata.atapi_dma" setenv