Displaying 1 result from an estimated 1 matches for "sys_opt".
Did you mean:
sysopt
2010 Jun 07
0
[PATCH] extlinux: Add the --menu-save option to set the MENU SAVE value from the running system using extlinux
...t_adv || opt.set_once || opt.menu_save)
return modify_existing_adv(opt.directory);
else
usage(EX_USAGE, 0);
diff --git a/libinstaller/syslxopt.c b/libinstaller/syslxopt.c
index 7718de3..728b19e 100644
--- a/libinstaller/syslxopt.c
+++ b/libinstaller/syslxopt.c
@@ -38,6 +38,7 @@ struct sys_options opt = {
.directory = NULL,
.device = NULL,
.offset = 0,
+ .menu_save = NULL,
};
const struct option long_options[] = {
@@ -55,10 +56,11 @@ const struct option long_options[] = {
{"once", 1, NULL, 'o'},
{"clear-once", 0, NULL, 'O...