wok view syslinux/stuff/extra/readconfig.u @ rev 15790
Add openvpn-down-root
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 16 10:28:08 2014 +0000 (2014-01-16) |
parents | |
children | 922ed71c2f6d |
line source
1 --- com32/menu/readconfig.c
2 +++ com32/menu/readconfig.c
3 @@ -874,6 +874,12 @@
4 }
5 } else if (looking_at(p, "start")) {
6 start_menu = m;
7 + } else if ((ep = looking_at(p, "startifnoarg"))) {
8 + size_t size;
9 + int slot;
10 + slot = strtoul(ep, &ep, 0);
11 + if (!syslinux_getadv(slot, &size))
12 + start_menu = m;
13 } else if (looking_at(p, "help")) {
14 if (ld.label) {
15 ld.action = MA_HELP;