[syslinux] ipappend and dos

H. Peter Anvin hpa at zytor.com
Wed Jun 9 18:17:25 PDT 2004


Alexander Heinz wrote:
> 
> 3)
> make a batch file that looks like this:
> @echo off
> getargs > tmpfile.bat
> call tmpfile.bat
> echo %ip%|nset /s: client-ip=$1
> echo %ip%|nset /s: boot-server-ip=$2
> echo %ip%|nset /s: gw-ip=$3
> echo %ip%|nset /s: netmask=$4
> 
> that's it.
> 

It should also be relatively trivial to just change getargs.c to do this in C 
code; this of course means you have to install OpenWatcom so you can compile 
it, which (currently) means having to have a Windows box around...

	-hpa




More information about the Syslinux mailing list