The "read" command allows a script to prompt a user to enter a setting. For example: echo -n Static IP address: read net0/ip Total cost: 17 bytes. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
25 |
|
25 |
|
26 |
|
26 |
|
27 |
|
27 |
|
|
28 |
|
|
28 |
|
29 |
|
29 |
|
30 |
|
30 |
|
31 |
|
|
|
||
80 |
|
81 |
|
81 |
|
82 |
|
82 |
|
83 |
|
83 |
|
|
|
84 |
|
|
|
|
84 |
|
|
|
85 |
|
|
85 |
|
86 |
|
86 |
|
|
|
87 |
|
|
|
|
87 |
|
|
|
88 |
|
|
88 |
|
89 |
|
89 |
|
90 |
|
90 |
|
91 |
|
91 |
|
|
|
|
92 |
|
|
92 |
|
93 |
|
93 |
|
94 |
|
|
95 |
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
94 |
|
100 |
|
95 |
|
|
|
|
101 |
|
|
96 |
|
102 |
|
97 |
|
103 |
|
98 |
|
104 |
|
|
105 |
|
|
|
106 |
|
|
99 |
|
107 |
|
100 |
|
108 |
|
101 |
|
|
|
102 |
|
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
|
112 |
|
|
103 |
|
113 |
|
104 |
|
114 |
|
105 |
|
115 |
|
106 |
|
116 |
|
107 |
|
117 |
|
108 |
|
|
|
|
118 |
|
|
109 |
|
119 |
|
110 |
|
120 |
|
111 |
|
121 |
|
112 |
|
122 |
|
113 |
|
123 |
|
114 |
|
124 |
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
|
125 |
|
|
|
126 |
|
|
120 |
|
127 |
|
121 |
|
128 |
|
122 |
|
129 |
|
123 |
|
|
|
124 |
|
|
|
|
130 |
|
|
|
131 |
|
|
125 |
|
132 |
|
126 |
|
133 |
|
127 |
|
134 |
|
|
|
||
130 |
|
137 |
|
131 |
|
138 |
|
132 |
|
139 |
|
133 |
|
|
|
|
140 |
|
|
134 |
|
141 |
|
135 |
|
142 |
|
136 |
|
143 |
|
137 |
|
144 |
|
138 |
|
|
|
139 |
|
|
|
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
|
159 |
|
|
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
|
166 |
|
|
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
140 |
|
171 |
|
141 |
|
|
|
142 |
|
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
|
|
175 |
|
|
|
176 |
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
143 |
|
180 |
|
144 |
|
|
|
145 |
|
|
|
146 |
|
|
|
|
181 |
|
|
|
182 |
|
|
|
183 |
|
|
147 |
|
184 |
|
148 |
|
185 |
|
149 |
|
186 |
|
|
|
||
153 |
|
190 |
|
154 |
|
191 |
|
155 |
|
192 |
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
|
|
193 |
|
|
|
194 |
|
|
159 |
|
195 |
|
160 |
|
|
|
161 |
|
|
|
162 |
|
|
|
|
196 |
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
|
|
163 |
|
203 |
|
164 |
|
|
|
165 |
|
|
|
|
204 |
|
|
|
205 |
|
|
|
206 |
|
|
166 |
|
207 |
|
167 |
|
|
|
168 |
|
|
|
169 |
|
|
|
170 |
|
|
|
171 |
|
|
|
172 |
|
|
|
173 |
|
|
|
174 |
|
208 |
|
175 |
|
209 |
|
176 |
|
210 |
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
|
221 |
|
|
177 |
|
222 |
|
178 |
|
223 |
|
179 |
|
224 |
|
|
|
||
188 |
|
233 |
|
189 |
|
234 |
|
190 |
|
235 |
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
191 |
|
240 |
|