Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

flag-table.php 9.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499
  1. <?php // -*- Mode: PHP; -*-
  2. /**
  3. * Copyright (C) 2009 Marty Connor <mdc@etherboot.org>.
  4. * Copyright (C) 2009 Entity Cyber, Inc.
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation; either version 2 of the
  9. * License, or any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19. */
  20. $ofmts = array
  21. ( "Floppy bootable image (.dsk)" => "dsk",
  22. "SYSLINUX-based bootable floppy image (.sdsk)" => "sdsk",
  23. "ISO bootable image (.iso)" => "iso",
  24. "ISO bootable image with legacy floppy emulation (.liso)" => "liso",
  25. "Linux kernel (SYSLINUX/GRUB/LILO) loadable image (.lkrn)" => "lkrn",
  26. "USB Keychain disk image (.usb)" => "usb",
  27. "ROM binary (flashable) image (.rom)" => "rom",
  28. "ROM binary (flashable) for problem PMM BIOSES (.hrom)" => "hrom",
  29. "PXE bootstrap loader image [Unload PXE stack] (.pxe)" => "pxe",
  30. "PXE bootstrap loader keep [Keep PXE stack method 1] (.kpxe)" => "kpxe",
  31. "PXE bootstrap loader keep [Keep PXE stack method 2] (.kkpxe)" => "kkpxe",
  32. );
  33. $flag_table = array (
  34. // Begin General Options:
  35. "HDR_MISC_OPTIONS"
  36. => array (
  37. "flag" => "HDR_MISC_OPTIONS",
  38. "hide_from_user" => "yes", // Hide even the header
  39. "type" => "header",
  40. "label" => "Miscellaneous Options"
  41. ),
  42. "PRODUCT_NAME"
  43. => array (
  44. "flag" => "PRODUCT_NAME",
  45. "hide_from_user" => "yes",
  46. "type" => "string",
  47. "value" => "",
  48. "cfgsec" => "general"
  49. ),
  50. "PRODUCT_SHORT_NAME"
  51. => array (
  52. "flag" => "PRODUCT_SHORT_NAME",
  53. "hide_from_user" => "yes",
  54. "type" => "string",
  55. "value" => "gPXE",
  56. "cfgsec" => "general"
  57. ),
  58. // End General Options:
  59. // Begin Console Options:
  60. "HDR_CONSOLE_OPTIONS"
  61. => array (
  62. "flag" => "HDR_CONSOLE_OPTIONS",
  63. "type" => "header",
  64. "label" => "Console Options"
  65. ),
  66. "CONSOLE_PCBIOS"
  67. => array (
  68. "flag" => "CONSOLE_PCBIOS",
  69. "type" => "on/off",
  70. "value" => "on",
  71. "cfgsec" => "console"
  72. ),
  73. "CONSOLE_SERIAL"
  74. => array (
  75. "flag" => "CONSOLE_SERIAL",
  76. "type" => "on/off",
  77. "value" => "off",
  78. "cfgsec" => "console"
  79. ),
  80. "BANNER_TIMEOUT"
  81. => array (
  82. "flag" => "BANNER_TIMEOUT",
  83. "type" => "integer",
  84. "value" => "20",
  85. "cfgsec" => "general"
  86. ),
  87. // End Console Options
  88. // Begin Network Protocol Options:
  89. "HDR_NETWORK_PROTOCOL_OPTIONS"
  90. => array (
  91. "flag" => "HDR_NETWORK_PROTOCOL_OPTIONS",
  92. "hide_from_user" => "yes", // Hide even the header
  93. "type" => "header",
  94. "label" => "Network Protocol Options"
  95. ),
  96. "NET_PROTO_IPV4"
  97. => array (
  98. "flag" => "NET_PROTO_IPV4",
  99. "type" => "on/off",
  100. "value" => "on",
  101. "hide_from_user" => "yes",
  102. "cfgsec" => "general"
  103. ),
  104. // End Network Protocol Options
  105. // Begin Serial Port configuration
  106. "HDR_SERIAL_PORT_OPTIONS"
  107. => array (
  108. "flag" => "HDR_SERIAL_PORT_OPTIONS",
  109. "type" => "header",
  110. "label" => "Serial Port Options"
  111. ),
  112. "COMCONSOLE"
  113. => array (
  114. "flag" => "COMCONSOLE",
  115. "type" => "integer-hex", // e.g. 0x378
  116. "value" => "0x3F8",
  117. "cfgsec" => "serial"
  118. ),
  119. "COMPRESERVE"
  120. => array (
  121. "flag" => "COMPRESERVE",
  122. "type" => "on/off",
  123. "value" => "off",
  124. "cfgsec" => "serial"
  125. ),
  126. "COMSPEED"
  127. => array (
  128. "flag" => "COMSPEED",
  129. "type" => "integer",
  130. "value" => "115200",
  131. "cfgsec" => "serial"
  132. ),
  133. "COMDATA"
  134. => array (
  135. "flag" => "COMDATA",
  136. "type" => "integer",
  137. "value" => "8",
  138. "cfgsec" => "serial"
  139. ),
  140. "COMPARITY"
  141. => array (
  142. "flag" => "COMPARITY",
  143. "type" => "integer",
  144. "value" => "0",
  145. "cfgsec" => "serial"
  146. ),
  147. "COMSTOP"
  148. => array (
  149. "flag" => "COMSTOP",
  150. "type" => "integer",
  151. "value" => "1",
  152. "cfgsec" => "serial"
  153. ),
  154. // End Serial Options
  155. // Begin Download Protocols
  156. "HDR_DOWNLOAD_PROTOCOLS"
  157. => array (
  158. "flag" => "HDR_DOWNLOAD_PROTOCOLS",
  159. "type" => "header",
  160. "label" => "Download Protocols"
  161. ),
  162. "DOWNLOAD_PROTO_TFTP"
  163. => array (
  164. "flag" => "DOWNLOAD_PROTO_TFTP",
  165. "type" => "on/off",
  166. "value" => "on",
  167. "cfgsec" => "general"
  168. ),
  169. "DOWNLOAD_PROTO_HTTP"
  170. => array (
  171. "flag" => "DOWNLOAD_PROTO_HTTP",
  172. "type" => "on/off",
  173. "value" => "on",
  174. "cfgsec" => "general"
  175. ),
  176. "DOWNLOAD_PROTO_HTTPS"
  177. => array (
  178. "flag" => "DOWNLOAD_PROTO_HTTPS",
  179. "type" => "on/off",
  180. "value" => "off",
  181. "cfgsec" => "general"
  182. ),
  183. "DOWNLOAD_PROTO_FTP"
  184. => array (
  185. "flag" => "DOWNLOAD_PROTO_FTP",
  186. "type" => "on/off",
  187. "value" => "off",
  188. "cfgsec" => "general"
  189. ),
  190. // End Download Protocols
  191. // Begin SAN boot protocols
  192. "HDR_SANBOOT_PROTOCOLS"
  193. => array (
  194. "flag" => "HDR_SANBOOT_PROTOCOLS",
  195. "type" => "header",
  196. "label" => "SAN Boot Protocols"
  197. ),
  198. "SANBOOT_PROTO_ISCSI"
  199. => array (
  200. "flag" => "SANBOOT_PROTO_ISCSI",
  201. "type" => "on/off",
  202. "value" => "on",
  203. "cfgsec" => "general"
  204. ),
  205. "SANBOOT_PROTO_AOE"
  206. => array (
  207. "flag" => "SANBOOT_PROTO_AOE",
  208. "type" => "on/off",
  209. "value" => "on",
  210. "cfgsec" => "general"
  211. ),
  212. // End SAN boot protocols
  213. // Begin Name resolution modules
  214. "HDR_NAME_RESOLUTION_MODULES"
  215. => array (
  216. "flag" => "HDR_NAME_RESOLUTION_MODULES",
  217. "type" => "header",
  218. "label" => "Name Resolution Modules"
  219. ),
  220. "DNS_RESOLVER"
  221. => array (
  222. "flag" => "DNS_RESOLVER",
  223. "type" => "on/off",
  224. "value" => "on",
  225. "cfgsec" => "general"
  226. ),
  227. "NMB_RESOLVER"
  228. => array (
  229. "flag" => "NMB_RESOLVER",
  230. "type" => "on/off",
  231. "value" => "off",
  232. "hide_from_user" => "yes",
  233. "cfgsec" => "general"
  234. ),
  235. // End Name resolution modules
  236. // Begin Image types
  237. "HDR_IMAGE_TYPES"
  238. => array (
  239. "flag" => "HDR_IMAGE_TYPES",
  240. "type" => "header",
  241. "label" => "Image Types",
  242. ),
  243. "IMAGE_ELF"
  244. => array (
  245. "flag" => "IMAGE_ELF",
  246. "type" => "on/off",
  247. "value" => "on",
  248. "cfgsec" => "general"
  249. ),
  250. "IMAGE_NBI"
  251. => array (
  252. "flag" => "IMAGE_NBI",
  253. "type" => "on/off",
  254. "value" => "on",
  255. "cfgsec" => "general"
  256. ),
  257. "IMAGE_MULTIBOOT"
  258. => array (
  259. "flag" => "IMAGE_MULTIBOOT",
  260. "type" => "on/off",
  261. "value" => "on",
  262. "cfgsec" => "general"
  263. ),
  264. "IMAGE_PXE"
  265. => array (
  266. "flag" => "IMAGE_PXE",
  267. "type" => "on/off",
  268. "value" => "on",
  269. "cfgsec" => "general"
  270. ),
  271. "IMAGE_SCRIPT"
  272. => array (
  273. "flag" => "IMAGE_SCRIPT",
  274. "type" => "on/off",
  275. "value" => "on",
  276. "cfgsec" => "general"
  277. ),
  278. "IMAGE_BZIMAGE"
  279. => array (
  280. "flag" => "IMAGE_BZIMAGE",
  281. "type" => "on/off",
  282. "value" => "on",
  283. "cfgsec" => "general"
  284. ),
  285. "IMAGE_COMBOOT"
  286. => array (
  287. "flag" => "IMAGE_COMBOOT",
  288. "type" => "on/off",
  289. "value" => "on",
  290. "cfgsec" => "general"
  291. ),
  292. // End Image types
  293. // Begin Command-line commands to include
  294. "HDR_COMMAND_LINE_OPTIONS"
  295. => array (
  296. "flag" => "HDR_COMMAND_LINE_OPTIONS",
  297. "type" => "header",
  298. "label" => "Command Line Options",
  299. ),
  300. "AUTOBOOT_CMD"
  301. => array (
  302. "flag" => "AUTOBOOT_CMD",
  303. "type" => "on/off",
  304. "value" => "on",
  305. "cfgsec" => "general"
  306. ),
  307. "NVO_CMD"
  308. => array (
  309. "flag" => "NVO_CMD",
  310. "type" => "on/off",
  311. "value" => "on",
  312. "cfgsec" => "general"
  313. ),
  314. "CONFIG_CMD"
  315. => array (
  316. "flag" => "CONFIG_CMD",
  317. "type" => "on/off",
  318. "value" => "on",
  319. "cfgsec" => "general"
  320. ),
  321. "IFMGMT_CMD"
  322. => array (
  323. "flag" => "IFMGMT_CMD",
  324. "type" => "on/off",
  325. "value" => "on",
  326. "cfgsec" => "general"
  327. ),
  328. "IWMGMT_CMD"
  329. => array (
  330. "flag" => "IWMGMT_CMD",
  331. "type" => "on/off",
  332. "value" => "on",
  333. "cfgsec" => "general"
  334. ),
  335. "ROUTE_CMD"
  336. => array (
  337. "flag" => "ROUTE_CMD",
  338. "type" => "on/off",
  339. "value" => "on",
  340. "cfgsec" => "general"
  341. ),
  342. "IMAGE_CMD"
  343. => array (
  344. "flag" => "IMAGE_CMD",
  345. "type" => "on/off",
  346. "value" => "on",
  347. "cfgsec" => "general"
  348. ),
  349. "DHCP_CMD"
  350. => array (
  351. "flag" => "DHCP_CMD",
  352. "type" => "on/off",
  353. "value" => "on",
  354. "cfgsec" => "general"
  355. ),
  356. "SANBOOT_CMD"
  357. => array (
  358. "flag" => "SANBOOT_CMD",
  359. "type" => "on/off",
  360. "value" => "on",
  361. "cfgsec" => "general"
  362. ),
  363. "LOGIN_CMD"
  364. => array (
  365. "flag" => "LOGIN_CMD",
  366. "type" => "on/off",
  367. "value" => "on",
  368. "cfgsec" => "general"
  369. ),
  370. "TIME_CMD"
  371. => array (
  372. "flag" => "TIME_CMD",
  373. "type" => "on/off",
  374. "value" => "off",
  375. "cfgsec" => "general"
  376. ),
  377. "DIGEST_CMD"
  378. => array (
  379. "flag" => "DIGEST_CMD",
  380. "type" => "on/off",
  381. "value" => "off",
  382. "cfgsec" => "general"
  383. ),
  384. // End Command-line commands to include
  385. // Begin Wireless options
  386. "HDR_WIRELESS_OPTIONS"
  387. => array (
  388. "flag" => "HDR_WIRELESS_OPTIONS",
  389. "type" => "header",
  390. "label" => "Wireless Interface Options",
  391. ),
  392. "CRYPTO_80211_WEP"
  393. => array (
  394. "flag" => "CRYPTO_80211_WEP",
  395. "type" => "on/off",
  396. "value" => "on",
  397. "cfgsec" => "general"
  398. ),
  399. "CRYPTO_80211_WPA"
  400. => array (
  401. "flag" => "CRYPTO_80211_WPA",
  402. "type" => "on/off",
  403. "value" => "on",
  404. "cfgsec" => "general"
  405. ),
  406. "CRYPTO_80211_WPA2"
  407. => array (
  408. "flag" => "CRYPTO_80211_WPA2",
  409. "type" => "on/off",
  410. "value" => "on",
  411. "cfgsec" => "general"
  412. ),
  413. // End Wireless options
  414. );
  415. // For emacs:
  416. // Local variables:
  417. // c-basic-offset: 4
  418. // c-indent-level: 4
  419. // tab-width: 4
  420. // End:
  421. ?>