Lines Matching refs:option
146 remove_menu_option(int menuID, const char *option)
150 if (menu_def[menuID].opts[j].opt_name == option) {
238 option "log", exit, action
241 option "async", exit, action
244 option "noatime", exit, action
247 option "nodev", exit, action
250 option "nodevmtime", exit, action
253 option "noexec", exit, action
256 option "nosuid", exit, action
259 option "noauto", exit, action
266 option MSG_Install_NetBSD_to_hard_disk,
268 option MSG_Upgrade_NetBSD_on_a_hard_disk,
270 option MSG_Re_install_sets_or_install_additional_sets,
272 option MSG_Reboot_the_computer, exit,
274 option MSG_Utility_menu, sub menu utility;
275 option MSG_Config_menu, action { do_configmenu(NULL); };
280 option MSG_Run_bin_sh,
282 option MSG_Set_timezone,
284 option MSG_Configure_network,
290 option MSG_Partition_a_disk,
297 option MSG_Logging_functions, action { do_logging(); };
298 option MSG_Color_scheme, sub menu colors;
299 option MSG_Halt_the_system, exit,
304 option MSG_White_on_black, action { do_coloring(COLOR_WHITE,COLOR_BLACK); };
305 option MSG_Black_on_white, action { do_coloring(COLOR_BLACK,COLOR_WHITE); };
306 option MSG_White_on_blue, action { do_coloring(COLOR_WHITE,COLOR_BLUE); };
307 option MSG_Green_on_black, action { do_coloring(COLOR_GREEN,COLOR_BLACK); };
313 option MSG_Yes, exit, action { ((arg_rv*)arg)->rv = 1; };
314 option MSG_No, exit, action { ((arg_rv*)arg)->rv = 0; };
319 option MSG_No, exit, action { ((arg_rv*)arg)->rv = 0; };
320 option MSG_Yes, exit, action { ((arg_rv*)arg)->rv = 1; };
324 option MSG_Hit_enter_to_continue, exit;
336 option MSG_Gigabytes, exit, action
338 option MSG_Megabytes, exit, action
340 option MSG_Cylinders, exit, action
342 option MSG_Sectors, exit, action
348 option MSG_Yes, exit, action { *((int*)arg) = 1; };
349 option MSG_cancel, exit, action { *((int*)arg) = 0; };
352 option MSG_cdrom, exit, action { *(int *)arg = get_via_cdrom(); };
353 option MSG_https, exit, action { *(int *)arg = get_via_ftp(XFER_HTTPS); };
354 option MSG_http, exit, action { *(int *)arg = get_via_ftp(XFER_HTTP); };
355 option MSG_ftp, exit, action { *(int *)arg = get_via_ftp(XFER_FTP); };
356 option MSG_nfs, exit, action { *(int *)arg = get_via_nfs(); };
357 option MSG_floppy, exit, action { *(int *)arg = get_via_floppy(); };
358 option MSG_local_fs, exit, action { *(int *)arg = get_via_localfs(); };
359 option MSG_local_dir, exit, action { *(int *)arg = get_via_localdir();};
360 option MSG_Skip_set, exit, action { *(int *)arg = SET_SKIP; };
361 option MSG_Skip_group,exit, action { *(int *)arg = SET_SKIP_GROUP; };
362 option MSG_Abandon, exit, action { *(int *)arg = SET_ABANDON; };
367 option MSG_Full_installation, exit, action { *(int *)arg = 1; init_set_status(0); };
368 option MSG_Full_installation_nox, exit, action { *(int *)arg = 1; init_set_status(SFLAG_NOX); };
369 option MSG_Minimal_installation, exit, action { *(int *)arg = 1; init_set_status(SFLAG_MINIMAL); };
370 option MSG_Custom_installation, exit, action { *(int *)arg = 1; init_set_status(SFLAG_MINIMAL); customise_sets(); };
378 option {src_legend(menu, MSG_Host, ftp.xfer_host[
384 option {src_legend(menu, MSG_Base_dir, ftp.dir);},
386 option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);},
388 option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
390 option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
392 option {src_legend(menu, MSG_User, ftp.user);},
396 option {src_legend(menu, MSG_Password,
406 option {src_legend(menu, MSG_Proxy, ftp.proxy);},
416 option {src_legend(menu, MSG_Xfer_dir, xfer_dir);},
418 option {src_legend(menu, MSG_delete_xfer_file,
421 option MSG_Configure_network,
427 option MSG_exit_menu_generic, exit, action { ((arg_rv*)arg)->rv = SET_RETRY; };
434 option {src_legend(menu, MSG_Host, nfs_host);},
436 option {src_legend(menu, MSG_Base_dir, nfs_dir);},
438 option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);},
440 option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
442 option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
444 option MSG_Configure_network,
450 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
453 option MSG_Try_again, exit, action { *(int *)arg = SET_CONTINUE; };
454 option MSG_Set_finished, exit, action { *(int *)arg = SET_OK; };
455 option MSG_Abort_fetch, exit, action { *(int *)arg = SET_RETRY; };
458 option MSG_OK, exit, action { *(int *)arg = SET_CONTINUE; };
459 option MSG_Set_finished, exit, action { *(int *)arg = SET_OK; };
460 option MSG_Abort_fetch, exit, action { *(int *)arg = SET_RETRY; };
463 option "msdos", exit, action { fd_type = "msdos"; };
464 option "ffs", exit, action { fd_type = "ffs"; };
466 option "ados", exit, action { fd_type = "ados"; };
471 option {src_legend(menu, MSG_Device, fd_dev);},
473 option {src_legend(menu, MSG_fd_type, fd_type);}, sub menu fd_type;
474 option {src_legend(menu, MSG_Xfer_dir, xfer_dir);},
476 option {src_legend(menu, MSG_delete_xfer_file,
479 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
484 option {src_legend(menu, MSG_Device, cdrom_dev);},
486 option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);},
488 option
490 option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
492 option MSG_abort_install, exit, action { *((int*)arg) = SET_ABANDON; };
493 option MSG_source_sel_retry, exit, action { *((int*)arg) = SET_RETRY; };
498 option {src_legend(menu, MSG_Device, localfs_dev);},
500 option {src_legend(menu, MSG_File_system, localfs_fs);},
502 option {src_legend(menu, MSG_Base_dir, localfs_dir);},
504 option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);},
506 option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
508 option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
510 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
515 option {src_legend(menu, MSG_Base_dir, localfs_dir);},
517 option {src_legend(menu, MSG_Set_dir_bin, set_dir_bin);},
519 option {src_legend(menu, MSG_Set_dir_src, set_dir_src);},
521 option {src_legend(menu, MSG_Dist_postfix, dist_postfix);},
523 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
526 option "google-public-dns-a.google.com (IPv4)", exit, action
536 option "google-public-dns-b.google.com (IPv4)", exit, action
546 option "google-public-dns-a.google.com (IPv6)", exit, action
556 option "google-public-dns-b.google.com (IPv6)", exit, action
566 option MSG_other, exit, action
570 option "/bin/sh", exit, action {*(const char **)arg = "/bin/sh";};
571 option "/bin/ksh", exit, action {*(const char **)arg = "/bin/ksh";};
572 option "/bin/csh", exit, action {*(const char **)arg = "/bin/csh";};
575 option "run mdnsd only", exit, action {*(const char **)arg = "mdnsd";};
576 option "run mdnsd and resolve local names", exit, action {*(const char **) arg = "mdnsd+nsswitch";};
577 option "do not run mdnsd", exit, action {*(const char **)arg = "No";};
582 option {src_legend(menu, MSG_Host,
587 option {src_legend(menu, MSG_Base_dir, pkg.dir);},
589 option {src_legend(menu, MSG_Pkg_dir, pkg_dir);},
591 option {src_legend(menu, MSG_User, pkg.user);},
595 option {src_legend(menu, MSG_Password,
605 option {src_legend(menu, MSG_Proxy, pkg.proxy);},
615 option {src_legend(menu, "Additional packages", (char*)(((arg_rv*)arg)->arg)); }, /*TODO*/
618 option MSG_Configure_network,
625 option {src_legend(menu, MSG_transfer_method, url_proto(pkg.xfer));},
627 option MSG_quit_pkgs_install, exit, action { ((arg_rv*)arg)->rv = SET_SKIP; };
632 option {src_legend(menu, MSG_Host, pkgsrc.xfer_host[
637 option {src_legend(menu, MSG_Pkgsrc_dir, pkgsrc_dir);},
639 option {src_legend(menu, MSG_User, pkgsrc.user);},
643 option {src_legend(menu, MSG_Password,
653 option {src_legend(menu, MSG_Proxy, pkgsrc.proxy);},
663 option {src_legend(menu, MSG_Xfer_dir, xfer_dir);},
665 option {src_legend(menu, MSG_delete_xfer_file,
668 option {src_legend(menu, MSG_transfer_method, url_proto(pkgsrc.xfer));},
670 option MSG_quit_pkgsrc, exit, action { *((int*)arg) = SET_SKIP;};
673 option "/bin/sh", exit, action { ushell = "/bin/sh";};
674 option "/bin/ksh", exit, action { ushell = "/bin/ksh";};
675 option "/bin/csh", exit, action { ushell = "/bin/csh";};
678 option MSG_cvtscheme_keep, exit, action { *(int*)arg = 0; };
679 option MSG_cvtscheme_delete, exit, action { *(int*)arg = 1; };
680 option MSG_cvtscheme_convert, exit, action { *(int*)arg = 2; };
681 option MSG_cvtscheme_abort, exit, action { *(int*)arg = 3; };
686 option MSG_reedit_partitions, exit,
688 option MSG_use_partitions_anyway, exit,
690 option MSG_abort_installation, exit,