[syslinux] ipappend and dos
Aaron McSorley
aaron.mcsorley at amd.com
Wed Jun 9 11:36:46 PDT 2004
I'm using ipappend and getargs.com with a dos boot image to
get the environment variables for the IP and MAC. The format
of the %ip% environment variable is
ip=<client-ip>:<boot-server-ip>:<gw-ip>:<netmask>
Is there a way to tell ipappend to assign these to individual arguments.
Or does anyone know a good way to parse each of these to individual variables in dos.
What I want to get is
clientip=
bootserver=
gw=
netmask=
And for the MAC the format is something like
BOOTIF=00-00-00-00-00...
Anyone know how to strip out the dashes.
Thanks
-Aaron
More information about the Syslinux
mailing list