Lines Matching refs:action
10 m.add_item("Self Loop", "Go to testing", m.action.SUBMENU, nil, testing)
11 m.add_item("Memory Test", "Perform extensive memory testing", m.action.RUN, "memtest")
12 m.add_item("Exit this menu", "Go one level up", m.action.EXITMENU, "exit")
15 m.add_item("Linux Rescue", "linresc", m.action.RUN, "linresc")
16 m.add_item("Dos Rescue", "dosresc", m.action.RUN, "dosresc")
17 m.add_item("Windows Rescue", "winresc", m.action.RUN, "winresc")
18 m.add_item("Exit this menu", "Go one level up", m.action.EXITMENU, "exit")
21 m.add_item("Prepare", "prep", m.action.RUN, "prep")
22 m.add_item("Rescue options...", "Troubleshoot a system", m.action.SUBMENU, nil, rescue)
24 m.add_item("Testing...", "Options to test hardware", m.action.SUBMENU, "testing")
25 m.add_item("Exit to prompt", "Exit the menu system", m.action.EXITMENU, "exit")
28 local action, data = m.showmenus(m.find_menu_num("main"))
30 if action == m.action.RUN then
33 print (action, data)