search for: menuhid

Displaying 5 results from an estimated 5 matches for "menuhid".

Did you mean: menuid
2010 May 30
1
[RFC PATCH] menu: support single key booting
...->action : MA_CMD; me->save = ld->save ? (ld->save > 0) : m->save; + me->commit = !!ld->menucommit; if (ld->menuindent) { const char *dn; @@ -653,6 +655,8 @@ static void parse_config_file(FILE * f) } } else if (looking_at(p, "hide")) { ld.menuhide = 1; + } else if (looking_at(p, "commit")) { + ld.menucommit = 1; } else if (looking_at(p, "passwd")) { if (ld.label) { refstr_put(ld.passwd); @@ -931,7 +935,7 @@ do_include: ld.helptext = NULL; ld.ipappend = ipappend; ld.menudefault = ld....
2007 Feb 23
1
Patch: Readconfig wont parse certain options anymore
...static void parse_config_file(FILE *f) { - char line[MAX_LINE], *p, *ep, ch; + char line[MAX_LINE], *p, *kp, *ep, ch; enum kernel_type type; while ( fgets(line, sizeof line, f) ) { @@ -532,10 +532,10 @@ ld.menulabel = NULL; ld.ipappend = ipappend; ld.menudefault = ld.menuhide = 0; - } else if ( (p = is_kernel_type(p, &type)) ) { + } else if ( (kp = is_kernel_type(p, &type)) ) { if ( ld.label ) { free(ld.kernel); - ld.kernel = strdup(skipspace(p)); + ld.kernel = strdup(skipspace(kp)); ld.type = type; } } else...
2016 Jun 29
0
Fwd: [PATCH] {vesa}menu.c32 feature => hide menu entry for specific sources
...static void record(struct menu *m, struc int i; struct menu_entry *me; const struct syslinux_ipappend_strings *ipappend; + const union syslinux_derivative_info *sdi; if (!ld->label) return; /* Nothing defined */ @@ -326,6 +328,34 @@ static void record(struct menu *m, struc if (ld->menuhide) m = hide_menu; + /* if HIDEIFNOT is specified , then send this entry to "hidden menu" until source doesn't match */ + if (ld->visiblesource){ + sdi = syslinux_derivative_info(); + uint32_t srvip; + char strsrvip[50]; + switch (sdi->c.filesystem) { + case SYSLINUX_FS_...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...d.type = KT_KERNEL; + } + ld.passwd = NULL; + ld.append = refstrdup(bdx[i]->options); + ld.initrd = refstrdup(bdx[i]->initrd); + ld.menulabel = format_bls_data( + bdx[i], (bls1_format) ? bls1_format : BLS1_FORMAT + ); + ld.helptext = NULL; + ld.ipappend = SysAppends; + ld.menudefault = ld.menuhide = ld.menuseparator = + ld.menudisabled = ld.menuindent = 0; + + if (bls1_shwlbl) { + tmp = refstrdup(ld.menulabel); + refstr_put(ld.menulabel); + rsprintf(&ld.menulabel, "%s%s", ld.label, tmp); + refstr_put(tmp); + } + + clear_bls_data(bdx[i]); + free(bdx[i]); +...
2019 May 24
3
[PATCH] (vesa)menu.c32: Add support for BLS
...ld.append = (bdx[i]->options) ? refstrdup(bdx[i]->options) : NULL; + ld.initrd = (bdx[i]->initrd) ? refstrdup(bdx[i]->initrd) : NULL; + ld.menulabel = (bdx[i]->title) ? refstrdup(bdx[i]->title) : NULL; + ld.ipappend = ipappend; + ld.menudefault = ld.menuhide = ld.menuseparator = + ld.menudisabled = ld.menuindent = 0; + + clear_bls_data(bdx[i]); + free(bdx[i]); + } + + return rv; + +nomem: + dprintf("Out of memory error!\n"); + free(filename); + for (i = 0; i < n_bd; i++) { + clear_bls_data(bd...