diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-07-01 19:44:53 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-07-01 19:44:53 -0700 |
commit | ccce101b32ae26dd180ecaebe95cc749c2f90373 (patch) | |
tree | 5ad9f4caa8b9ae1d1150bdd56cf3a0ef24907f15 /com32/menu/readconfig.c | |
parent | 18de1534f9b69fb298a5b56e61919130d875b34b (diff) | |
download | syslinux-4.01-pre3.tar.gz |
pxelinux: new IPAPPEND 4 to generate a SYSUUID= option.syslinux-4.01-pre3
Add a new IPAPPEND option to generate a SYSUUID= option with the
in-system UUID.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/menu/readconfig.c')
-rw-r--r-- | com32/menu/readconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/menu/readconfig.c b/com32/menu/readconfig.c index ca9c35e6..8c16fda1 100644 --- a/com32/menu/readconfig.c +++ b/com32/menu/readconfig.c @@ -343,7 +343,8 @@ static void record(struct menu *m, struct labeldata *ld, const char *append) if (ld->ipappend) { ipappend = syslinux_ipappend_strings(); for (i = 0; i < ipappend->count; i++) { - if ((ld->ipappend & (1U << i)) && ipappend->ptr[i]) + if ((ld->ipappend & (1U << i)) && ipappend->ptr[i] && + ipappend->ptr[i][0]) ipp += sprintf(ipp, " %s", ipappend->ptr[i]); } } |