DragonFly users List (threaded) for 2008-08
DragonFly BSD
DragonFly users List (threaded) for 2008-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [GSoC] beastie.4th problem


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Mon, 18 Aug 2008 20:39:23 -0700 (PDT)

:Hi!
:I want to add a fancy menu to the LiveDVD to allow users at boot time to choose between UP, SMP and SMP-NOAPIC kernels.
:Does anybody know how to get the following piece of code to do that?
:I've tried a great number of combinations (just guessing) to no avail. :(
:
:  		then
:+		dup bootsmpkey @ = if
:+			s" /kernel.smp/modules" s" module_path" setenv
:+			s" /kernel.smp/kernel" boot
:+		then
:+		dup bootsmpnoapickey @ = if
:+			s" /kernel.smp/modules" s" module_path" setenv
:+			0 s" /kernel.smp/kernel.noapic" boot
		       ^^^
		       THIS EXTRA ZERO

:+		then
:  		dup bootsafekey @ = if
:  			s" arch-i386" environment? if
:  				s" acpi_load" unsetenv
:-- 
:Louisa Luciani

    I'm in the dark when it comes to forth code, but I'm wondering
    if that extra '0' might be causing an issue.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]