Lines Matching refs:action

216 error action {
228 * display action
230 option "log", exit, action
233 option "async", exit, action
236 option "noatime", exit, action
239 option "nodev", exit, action
242 option "nodevmtime", exit, action
245 option "noexec", exit, action
248 option "nosuid", exit, action
251 option "noauto", exit, action
257 display action { toplevel(); };
259 action { do_install(); };
261 action { do_upgrade(); };
263 action { do_reinstall_sets(); };
265 action (endwin) { system("/sbin/reboot -q"); };
267 option MSG_Config_menu, action { do_configmenu(NULL); };
271 display action { toplevel(); };
273 action (endwin) { system("/bin/sh -i -E"); };
275 action { set_timezone(); };
277 action {
283 action {
289 option MSG_Logging_functions, action { do_logging(); };
292 action (endwin) { system("/sbin/halt -q"); };
296 option MSG_White_on_black, action { do_coloring(COLOR_WHITE,COLOR_BLACK); };
297 option MSG_Black_on_white, action { do_coloring(COLOR_BLACK,COLOR_WHITE); };
298 option MSG_White_on_blue, action { do_coloring(COLOR_WHITE,COLOR_BLUE); };
299 option MSG_Green_on_black, action { do_coloring(COLOR_GREEN,COLOR_BLACK); };
303 display action { arg_rv *p = arg;
305 option MSG_Yes, exit, action { ((arg_rv*)arg)->rv = 1; };
306 option MSG_No, exit, action { ((arg_rv*)arg)->rv = 0; };
309 display action { arg_rv *p = arg;
311 option MSG_No, exit, action { ((arg_rv*)arg)->rv = 0; };
312 option MSG_Yes, exit, action { ((arg_rv*)arg)->rv = 1; };
315 display action { menu->title = arg; };
319 display action {
328 option MSG_Gigabytes, exit, action
330 option MSG_Megabytes, exit, action
332 option MSG_Cylinders, exit, action
334 option MSG_Sectors, exit, action
339 display action { menu->cursel = 1; };
340 option MSG_Yes, exit, action { *((int*)arg) = 1; };
341 option MSG_cancel, exit, action { *((int*)arg) = 0; };
344 option MSG_cdrom, exit, action { *(int *)arg = get_via_cdrom(); };
345 option MSG_http, exit, action { *(int *)arg = get_via_ftp(XFER_HTTP); };
346 option MSG_ftp, exit, action { *(int *)arg = get_via_ftp(XFER_FTP); };
347 option MSG_nfs, exit, action { *(int *)arg = get_via_nfs(); };
348 option MSG_floppy, exit, action { *(int *)arg = get_via_floppy(); };
349 option MSG_local_fs, exit, action { *(int *)arg = get_via_localfs(); };
350 option MSG_local_dir, exit, action { *(int *)arg = get_via_localdir();};
351 option MSG_Skip_set, exit, action { *(int *)arg = SET_SKIP; };
352 option MSG_Skip_group,exit, action { *(int *)arg = SET_SKIP_GROUP; };
353 option MSG_Abandon, exit, action { *(int *)arg = SET_ABANDON; };
357 display action { msg_display (MSG_distset); };
358 option MSG_Full_installation, exit, action { *(int *)arg = 1; init_set_status(0); };
359 option MSG_Full_installation_nox, exit, action { *(int *)arg = 1; init_set_status(SFLAG_NOX); };
360 option MSG_Minimal_installation, exit, action { *(int *)arg = 1; init_set_status(SFLAG_MINIMAL); };
361 …option MSG_Custom_installation, exit, action { *(int *)arg = 1; init_set_status(SFLAG_MINIMAL); cu…
365 display action {
371 action { src_prompt(MSG_Host, ftp.xfer_host[
376 action { src_prompt(MSG_Base_dir, ftp.dir, sizeof ftp.dir); };
378 action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
380 action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
382 action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
384 action { src_prompt(MSG_User, ftp.user, sizeof ftp.user);
390 action { if (strcmp(ftp.user, "ftp") == 0)
398 action { src_prompt(MSG_Proxy, ftp.proxy, sizeof ftp.proxy);
408 action { src_prompt(MSG_Xfer_dir, xfer_dir, sizeof xfer_dir); };
411 action {clean_xfer_dir = ask_yesno(MSG_delete_xfer_file); };
413 action {
418 option MSG_exit_menu_generic, exit, action { ((arg_rv*)arg)->rv = SET_RETRY; };
423 display action { const char suff[] = "." SETS_TAR_SUFF;
426 action { src_prompt(MSG_Host, nfs_host, sizeof nfs_host); };
428 action { src_prompt(MSG_Base_dir, nfs_dir, sizeof nfs_dir); };
430 action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
432 action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
434 action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
436 action {
441 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
444 option MSG_Try_again, exit, action { *(int *)arg = SET_CONTINUE; };
445 option MSG_Set_finished, exit, action { *(int *)arg = SET_OK; };
446 option MSG_Abort_fetch, exit, action { *(int *)arg = SET_RETRY; };
449 option MSG_OK, exit, action { *(int *)arg = SET_CONTINUE; };
450 option MSG_Set_finished, exit, action { *(int *)arg = SET_OK; };
451 option MSG_Abort_fetch, exit, action { *(int *)arg = SET_RETRY; };
454 option "msdos", exit, action { fd_type = "msdos"; };
455 option "ffs", exit, action { fd_type = "ffs"; };
457 option "ados", exit, action { fd_type = "ados"; };
461 display action { msg_display(MSG_floppysource); };
463 action { src_prompt(MSG_dev, fd_dev, sizeof fd_dev); };
466 action { src_prompt(MSG_Xfer_dir, xfer_dir, sizeof xfer_dir); };
469 action {clean_xfer_dir = ask_yesno(MSG_delete_xfer_file); };
470 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
473 display action { const char suff[] = "." SETS_TAR_SUFF;
476 action { src_prompt(MSG_dev, cdrom_dev, sizeof cdrom_dev); };
478 action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
480 action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
482 action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
483 option MSG_abort_install, exit, action { *((int*)arg) = SET_ABANDON; };
484 option MSG_source_sel_retry, exit, action { *((int*)arg) = SET_RETRY; };
487 display action { const char suff[] = "." SETS_TAR_SUFF;
490 action { src_prompt(MSG_dev, localfs_dev, sizeof localfs_dev);};
492 action { src_prompt(MSG_filesys, localfs_fs, sizeof localfs_fs); };
494 action { src_prompt(MSG_Base_dir, localfs_dir, sizeof localfs_dir);};
496 action { src_prompt(MSG_Set_dir_bin, set_dir_bin, sizeof set_dir_bin); };
498 action { src_prompt(MSG_Set_dir_src, set_dir_src, sizeof set_dir_src); };
500 action { src_prompt(MSG_Dist_postfix, dist_postfix, sizeof dist_postfix); };
501 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
504 display action { const char suff[] = "." SETS_TAR_SUFF;
507 action { src_prompt(MSG_Base_dir, localfs_dir, 60); };
509 action { src_prompt(MSG_Set_dir_bin, set_dir_bin, 60); };
511 action { src_prompt(MSG_Set_dir_src, set_dir_src, 60); };
513 action { src_prompt(MSG_Dist_postfix, dist_postfix, 60); };
514 option MSG_exit_menu_generic, exit, action { *((int*)arg) = SET_RETRY; };
517 option "google-public-dns-a.google.com (IPv4)", exit, action
527 option "google-public-dns-b.google.com (IPv4)", exit, action
537 option "google-public-dns-a.google.com (IPv6)", exit, action
547 option "google-public-dns-b.google.com (IPv6)", exit, action
557 option MSG_other, exit, action
561 option "/bin/sh", exit, action {*(const char **)arg = "/bin/sh";};
562 option "/bin/ksh", exit, action {*(const char **)arg = "/bin/ksh";};
563 option "/bin/csh", exit, action {*(const char **)arg = "/bin/csh";};
566 option "run mdnsd only", exit, action {*(const char **)arg = "mdnsd";};
567 …option "run mdnsd and resolve local names", exit, action {*(const char **) arg = "mdnsd+nsswitch";…
568 option "do not run mdnsd", exit, action {*(const char **)arg = "No";};
572 display action { msg_display(MSG_pkgpath); };
575 action { src_prompt(MSG_Host,
579 action { src_prompt(MSG_Base_dir, pkg.dir, sizeof pkg.dir); };
581 action { src_prompt(MSG_Pkg_dir, pkg_dir, sizeof pkg_dir); };
583 action { src_prompt(MSG_User, pkg.user, sizeof pkg.user);
589 action { if (strcmp(pkg.user, "ftp") == 0)
597 action { src_prompt(MSG_Proxy, pkg.proxy, sizeof pkg.proxy);
607 action { src_prompt("Additional packages", (char*)(((arg_rv*)arg)->arg),
610 action {
617 action { pkg.xfer = (pkg.xfer+1) % (XFER_MAX+1); };
618 option MSG_quit_pkgs_install, exit, action { ((arg_rv*)arg)->rv = SET_SKIP; };
622 display action { msg_display(MSG_pkgsrc); };
625 action { src_prompt(MSG_Host,
629 action { src_prompt(MSG_Pkgsrc_dir, pkgsrc_dir, sizeof pkgsrc_dir); };
631 action { src_prompt(MSG_User, pkgsrc.user, sizeof pkgsrc.user);
637 action { if (strcmp(pkgsrc.user, "ftp") == 0)
645 action { src_prompt(MSG_Proxy, pkgsrc.proxy, sizeof pkgsrc.proxy);
655 action { src_prompt(MSG_Xfer_dir, xfer_dir, sizeof xfer_dir); };
658 action {clean_xfer_dir = ask_yesno(MSG_delete_xfer_file); };
660 action { pkgsrc.xfer = (pkgsrc.xfer+1) % (XFER_MAX+1); };
661 option MSG_quit_pkgsrc, exit, action { *((int*)arg) = SET_SKIP;};
664 option "/bin/sh", exit, action { ushell = "/bin/sh";};
665 option "/bin/ksh", exit, action { ushell = "/bin/ksh";};
666 option "/bin/csh", exit, action { ushell = "/bin/csh";};
669 option MSG_cvtscheme_keep, exit, action { *(int*)arg = 0; };
670 option MSG_cvtscheme_delete, exit, action { *(int*)arg = 1; };
671 option MSG_cvtscheme_convert, exit, action { *(int*)arg = 2; };
672 option MSG_cvtscheme_abort, exit, action { *(int*)arg = 3; };
676 expand action { expand_all_option_texts(menu, arg); };
678 action {((arg_rep_int*)arg)->rv = 1;};
680 action {((arg_rep_int*)arg)->rv = 2;};
682 action {((arg_rep_int*)arg)->rv = 0;};