loadfile: make sure we don't trash errno
[syslinux.git] / menu / test2.menu
blob4570dc2c9b38f0d179afd252aa05b9d9ba540fdb
2 title=" COMBOOT Menu System "
4 # location of help directory
5 helpdir="/isolinux/help"
6 pwdfile="/isolinux/password"
8 # skip the menu if shift is pressed or Caps is on
9 # if the menu is skipped run "skipcmd"
10 # in our case we run the OS on the first harddisk
11 skipcondn=shift-caps
12 skipcmd="chain.c32 hd 0"
14 # person with root privileges can exit menu
15 # others just repeat
16 exitcmd=".exit"
17 onerrorcmd=".beep 2 % % .help hlp00025.txt % .exit"
19 startfile="hlp00026.txt"
21 timeoutcmd=".wait"
22 totaltimeoutcmd="chain.c32 hd 0"
24 [netmenu]
25 title=" Init Network "
27 item="<N>one"
28 info="Dont start network"
29 type=radioitem
30 data="network=no"
32 item="<d>hcp"
33 info="Use DHCP"
34 type=radioitem
35 data="network=dhcp"
37 [testing]
38 title=" Testing "
40 item="<M>emory Test"
41 info="Perform extensive memory testing"
42 data="memtest"
43 helpid=25
44 ipappend=3
46 item="<I>nvisible"
47 info="You dont see this"
48 type=invisible
50 item="<E>xit menu"
51 info="Go one level up"
52 type=exitmenu
54 [rescue]
55 title=" Rescue Options "
57 item="<L>inux Rescue"
58 info="Run linresc"
59 data="linresc"
61 item="<D>os Rescue"
62 info="dosresc"
63 data="dosresc"
65 item="<W>indows Rescue"
66 info="winresc"
67 data="winresc"
69 item="<E>xit this menu"
70 info="Go one level up"
71 type=exitmenu
73 [prep]
74 title=" Prep options "
76 item="<b>aseurl by IP?"
77 info="Specify gui baseurl by IP address"
78 type=checkbox
79 data="baseurl=http://192.168.0.1"
81 item="<m>ountcd?"
82 info="Mount the cdrom drive?"
83 type=checkbox
84 data="mountcd"
86 item="Network Initialization"
87 info="How to initialise network device?"
88 type=radiomenu
89 data="netmenu"
91 type=sep
93 item="Reinstall <w>indows"
94 info="Re-install the windows side of a dual boot setup"
95 type=checkbox
96 data="repair=win"
98 item="Reinstall <l>inux"
99 info="Re-install the linux side of a dual boot setup"
100 type=checkbox
101 data="repair=lin"
103 type=sep
105 item="<R>un prep now"
106 info="Execute prep with the above options"
107 data="prep"
108 argsmenu="prep"
110 item="<E>xit this menu"
111 info="Go up one level"
112 type=exitmenu
114 [main]
116 title=" Main Menu "
118 type=login
120 item="<P>repare"
121 info="prep"
122 data="prep"
124 item="<P>rep options..."
125 info="Options for prep"
126 type=submenu
127 data="prep"
129 item="<R>escue options..."
130 info="Troubleshoot a system"
131 type=submenu
132 data="rescue"
133 helpid=26
135 item="<T>esting..."
136 info="Options to test hardware"
137 type=submenu
138 data="testing"
140 item="<E>xit to prompt"
141 info="Exit the menu system"
142 type=exitmenu