-------- Forwarding messages -------- From: sqwbwh <sqw...@126.com> Date: 2010-11-06 18:14:08 To: "Gene Cumm" <gene.c...@gmail.com> Subject: Re:Re: [gPXE] Fw:Re:Re: At compile time how to add Embedded Script:
Gene Cumm > >#! Gpxe > >Dhcp net0 > >Autoboot >> This is just an example >> >> If it is used to compile the source code do?(add Embedded Script,use make ) > > Not rom-o-matic.net >make [target] EMBEDDED_IMAGE=[path_to_script] TIME_CMD=1 >This is what I've used (of course replacing "[target]" with something >like "bin/ne2k_isa.dsk"). ----- Here I do not understand ========================== http://rom-o-matic.net/gpxe/gpxe-1.0.1/contrib/rom-o-matic/build.php at Embedded Script: add: #!gpxe dhcp net0 autoboot -------- To achieve the above functions How to modify the source code and compile -sqwbwh At 2010-11-06 17:55:59,"Gene Cumm" <gene.c...@gmail.com> wrote: >2010/11/6 sqwbwh <sqw...@126.com> > >Thank you for forwarding back to the list. > >> -------- Forwarding messages -------- >> From: sqwbwh <sqw...@126.com> >> Date: 2010-11-06 17:45:13 >> To: "Gene Cumm" <gene.c...@gmail.com> >> Subject: Re:Re: [gPXE] At compile time how to add Embedded Script: >> Gene Cumm >> I believe "TIME_CMD" is disabled by default. (Again "Customize"). >> http://etherboot.org/wiki/commandline >> ---------- >> I see,thank you >> >> #! Gpxe >> Dhcp net0 >> Autoboot >> This is just an example >> >> If it is used to compile the source code do?(add Embedded Script,use make ) >> Not rom-o-matic.net > >make [target] EMBEDDED_IMAGE=[path_to_script] TIME_CMD=1 > >This is what I've used (of course replacing "[target]" with something >like "bin/ne2k_isa.dsk"). > >> >> -sqwbwh >> >> >> At 2010-11-06 17:31:50,"Gene Cumm" <gene.c...@gmail.com> wrote: >> >> >2010/11/6 sqwbwh <sqw...@126.com>: >> >> At compile time how to add Embedded Script: >> >> Such as add Embedded Script : >> >> #! Gpxe >> >> dhcp net0 >> >> autoboot >> >> >> >> Should be written where? >> > >> >I believe "autoboot" is a special command that tries to look to the >> >network for everything and already does "dhcp net0" (See also >> >http://etherboot.org/wiki/commandline#other ). Try the "# (optional) >> >Customize image configuration options:" ("Customize" button) and you >> >get an input box "Embedded Script:". >> > >> >> Embedded Script "sleep" This command failed yet? >> > >> >I believe "TIME_CMD" is disabled by default. (Again "Customize"). >> > >> >> Where can I find detailed information on the Embedded Script >> > >> >http://etherboot.org/wiki/commandline >> > >> >-- >> >-Gene > >-- >-Gene > >"No one ever says, 'I can't read that ASCII(plain text) e-mail you sent me.'"
_______________________________________________ gPXE mailing list gPXE@etherboot.org http://etherboot.org/mailman/listinfo/gpxe