Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

flag-table.php 10KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521
  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" => "iPXE",
  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. "KEYBOARD_MAP"
  88. => array (
  89. "flag" => "KEYBOARD_MAP",
  90. "type" => "choice",
  91. "options" => array("al","az","bg","by","cf","cz","de","dk","es","et","fi","fr",
  92. "gr","hu","il","it","lt","mk","mt","nl","no","pl","pt","ro","ru","sg","sr",
  93. "th","ua","uk","us","wo"),
  94. "value" => "us",
  95. "cfgsec" => "console"
  96. ),
  97. // End Console Options
  98. // Begin Network Protocol Options:
  99. "HDR_NETWORK_PROTOCOL_OPTIONS"
  100. => array (
  101. "flag" => "HDR_NETWORK_PROTOCOL_OPTIONS",
  102. "hide_from_user" => "yes", // Hide even the header
  103. "type" => "header",
  104. "label" => "Network Protocol Options"
  105. ),
  106. "NET_PROTO_IPV4"
  107. => array (
  108. "flag" => "NET_PROTO_IPV4",
  109. "type" => "on/off",
  110. "value" => "on",
  111. "hide_from_user" => "yes",
  112. "cfgsec" => "general"
  113. ),
  114. // End Network Protocol Options
  115. // Begin Serial Port configuration
  116. "HDR_SERIAL_PORT_OPTIONS"
  117. => array (
  118. "flag" => "HDR_SERIAL_PORT_OPTIONS",
  119. "type" => "header",
  120. "label" => "Serial Port Options"
  121. ),
  122. "COMCONSOLE"
  123. => array (
  124. "flag" => "COMCONSOLE",
  125. "type" => "integer-hex", // e.g. 0x378
  126. "value" => "0x3F8",
  127. "cfgsec" => "serial"
  128. ),
  129. "COMPRESERVE"
  130. => array (
  131. "flag" => "COMPRESERVE",
  132. "type" => "on/off",
  133. "value" => "off",
  134. "cfgsec" => "serial"
  135. ),
  136. "COMSPEED"
  137. => array (
  138. "flag" => "COMSPEED",
  139. "type" => "integer",
  140. "value" => "115200",
  141. "cfgsec" => "serial"
  142. ),
  143. "COMDATA"
  144. => array (
  145. "flag" => "COMDATA",
  146. "type" => "integer",
  147. "value" => "8",
  148. "cfgsec" => "serial"
  149. ),
  150. "COMPARITY"
  151. => array (
  152. "flag" => "COMPARITY",
  153. "type" => "integer",
  154. "value" => "0",
  155. "cfgsec" => "serial"
  156. ),
  157. "COMSTOP"
  158. => array (
  159. "flag" => "COMSTOP",
  160. "type" => "integer",
  161. "value" => "1",
  162. "cfgsec" => "serial"
  163. ),
  164. // End Serial Options
  165. // Begin Download Protocols
  166. "HDR_DOWNLOAD_PROTOCOLS"
  167. => array (
  168. "flag" => "HDR_DOWNLOAD_PROTOCOLS",
  169. "type" => "header",
  170. "label" => "Download Protocols"
  171. ),
  172. "DOWNLOAD_PROTO_TFTP"
  173. => array (
  174. "flag" => "DOWNLOAD_PROTO_TFTP",
  175. "type" => "on/off",
  176. "value" => "on",
  177. "cfgsec" => "general"
  178. ),
  179. "DOWNLOAD_PROTO_HTTP"
  180. => array (
  181. "flag" => "DOWNLOAD_PROTO_HTTP",
  182. "type" => "on/off",
  183. "value" => "on",
  184. "cfgsec" => "general"
  185. ),
  186. "DOWNLOAD_PROTO_HTTPS"
  187. => array (
  188. "flag" => "DOWNLOAD_PROTO_HTTPS",
  189. "type" => "on/off",
  190. "value" => "off",
  191. "cfgsec" => "general"
  192. ),
  193. "DOWNLOAD_PROTO_FTP"
  194. => array (
  195. "flag" => "DOWNLOAD_PROTO_FTP",
  196. "type" => "on/off",
  197. "value" => "off",
  198. "cfgsec" => "general"
  199. ),
  200. // End Download Protocols
  201. // Begin SAN boot protocols
  202. "HDR_SANBOOT_PROTOCOLS"
  203. => array (
  204. "flag" => "HDR_SANBOOT_PROTOCOLS",
  205. "type" => "header",
  206. "label" => "SAN Boot Protocols"
  207. ),
  208. "SANBOOT_PROTO_ISCSI"
  209. => array (
  210. "flag" => "SANBOOT_PROTO_ISCSI",
  211. "type" => "on/off",
  212. "value" => "on",
  213. "cfgsec" => "general"
  214. ),
  215. "SANBOOT_PROTO_AOE"
  216. => array (
  217. "flag" => "SANBOOT_PROTO_AOE",
  218. "type" => "on/off",
  219. "value" => "on",
  220. "cfgsec" => "general"
  221. ),
  222. // End SAN boot protocols
  223. // Begin Name resolution modules
  224. "HDR_NAME_RESOLUTION_MODULES"
  225. => array (
  226. "flag" => "HDR_NAME_RESOLUTION_MODULES",
  227. "type" => "header",
  228. "label" => "Name Resolution Modules"
  229. ),
  230. "DNS_RESOLVER"
  231. => array (
  232. "flag" => "DNS_RESOLVER",
  233. "type" => "on/off",
  234. "value" => "on",
  235. "cfgsec" => "general"
  236. ),
  237. "NMB_RESOLVER"
  238. => array (
  239. "flag" => "NMB_RESOLVER",
  240. "type" => "on/off",
  241. "value" => "off",
  242. "hide_from_user" => "yes",
  243. "cfgsec" => "general"
  244. ),
  245. // End Name resolution modules
  246. // Begin Image types
  247. "HDR_IMAGE_TYPES"
  248. => array (
  249. "flag" => "HDR_IMAGE_TYPES",
  250. "type" => "header",
  251. "label" => "Image Types",
  252. ),
  253. "IMAGE_ELF"
  254. => array (
  255. "flag" => "IMAGE_ELF",
  256. "type" => "on/off",
  257. "value" => "on",
  258. "cfgsec" => "general"
  259. ),
  260. "IMAGE_NBI"
  261. => array (
  262. "flag" => "IMAGE_NBI",
  263. "type" => "on/off",
  264. "value" => "on",
  265. "cfgsec" => "general"
  266. ),
  267. "IMAGE_MULTIBOOT"
  268. => array (
  269. "flag" => "IMAGE_MULTIBOOT",
  270. "type" => "on/off",
  271. "value" => "on",
  272. "cfgsec" => "general"
  273. ),
  274. "IMAGE_PXE"
  275. => array (
  276. "flag" => "IMAGE_PXE",
  277. "type" => "on/off",
  278. "value" => "on",
  279. "cfgsec" => "general"
  280. ),
  281. "IMAGE_SCRIPT"
  282. => array (
  283. "flag" => "IMAGE_SCRIPT",
  284. "type" => "on/off",
  285. "value" => "on",
  286. "cfgsec" => "general"
  287. ),
  288. "IMAGE_BZIMAGE"
  289. => array (
  290. "flag" => "IMAGE_BZIMAGE",
  291. "type" => "on/off",
  292. "value" => "on",
  293. "cfgsec" => "general"
  294. ),
  295. "IMAGE_COMBOOT"
  296. => array (
  297. "flag" => "IMAGE_COMBOOT",
  298. "type" => "on/off",
  299. "value" => "on",
  300. "cfgsec" => "general"
  301. ),
  302. // End Image types
  303. // Begin Command-line commands to include
  304. "HDR_COMMAND_LINE_OPTIONS"
  305. => array (
  306. "flag" => "HDR_COMMAND_LINE_OPTIONS",
  307. "type" => "header",
  308. "label" => "Command Line Options",
  309. ),
  310. "AUTOBOOT_CMD"
  311. => array (
  312. "flag" => "AUTOBOOT_CMD",
  313. "type" => "on/off",
  314. "value" => "on",
  315. "cfgsec" => "general"
  316. ),
  317. "NVO_CMD"
  318. => array (
  319. "flag" => "NVO_CMD",
  320. "type" => "on/off",
  321. "value" => "on",
  322. "cfgsec" => "general"
  323. ),
  324. "CONFIG_CMD"
  325. => array (
  326. "flag" => "CONFIG_CMD",
  327. "type" => "on/off",
  328. "value" => "on",
  329. "cfgsec" => "general"
  330. ),
  331. "IFMGMT_CMD"
  332. => array (
  333. "flag" => "IFMGMT_CMD",
  334. "type" => "on/off",
  335. "value" => "on",
  336. "cfgsec" => "general"
  337. ),
  338. "IWMGMT_CMD"
  339. => array (
  340. "flag" => "IWMGMT_CMD",
  341. "type" => "on/off",
  342. "value" => "on",
  343. "cfgsec" => "general"
  344. ),
  345. "ROUTE_CMD"
  346. => array (
  347. "flag" => "ROUTE_CMD",
  348. "type" => "on/off",
  349. "value" => "on",
  350. "cfgsec" => "general"
  351. ),
  352. "IMAGE_CMD"
  353. => array (
  354. "flag" => "IMAGE_CMD",
  355. "type" => "on/off",
  356. "value" => "on",
  357. "cfgsec" => "general"
  358. ),
  359. "DHCP_CMD"
  360. => array (
  361. "flag" => "DHCP_CMD",
  362. "type" => "on/off",
  363. "value" => "on",
  364. "cfgsec" => "general"
  365. ),
  366. "SANBOOT_CMD"
  367. => array (
  368. "flag" => "SANBOOT_CMD",
  369. "type" => "on/off",
  370. "value" => "on",
  371. "cfgsec" => "general"
  372. ),
  373. "LOGIN_CMD"
  374. => array (
  375. "flag" => "LOGIN_CMD",
  376. "type" => "on/off",
  377. "value" => "on",
  378. "cfgsec" => "general"
  379. ),
  380. "TIME_CMD"
  381. => array (
  382. "flag" => "TIME_CMD",
  383. "type" => "on/off",
  384. "value" => "off",
  385. "cfgsec" => "general"
  386. ),
  387. "DIGEST_CMD"
  388. => array (
  389. "flag" => "DIGEST_CMD",
  390. "type" => "on/off",
  391. "value" => "off",
  392. "cfgsec" => "general"
  393. ),
  394. // End Command-line commands to include
  395. // Begin Wireless options
  396. "HDR_WIRELESS_OPTIONS"
  397. => array (
  398. "flag" => "HDR_WIRELESS_OPTIONS",
  399. "type" => "header",
  400. "label" => "Wireless Interface Options",
  401. ),
  402. "CRYPTO_80211_WEP"
  403. => array (
  404. "flag" => "CRYPTO_80211_WEP",
  405. "type" => "on/off",
  406. "value" => "on",
  407. "cfgsec" => "general"
  408. ),
  409. "CRYPTO_80211_WPA"
  410. => array (
  411. "flag" => "CRYPTO_80211_WPA",
  412. "type" => "on/off",
  413. "value" => "on",
  414. "cfgsec" => "general"
  415. ),
  416. "CRYPTO_80211_WPA2"
  417. => array (
  418. "flag" => "CRYPTO_80211_WPA2",
  419. "type" => "on/off",
  420. "value" => "on",
  421. "cfgsec" => "general"
  422. ),
  423. // End Wireless options
  424. // Obscure options required to compile
  425. "NETDEV_DISCARD_RATE"
  426. => array (
  427. "flag" => "NETDEV_DISCARD_RATE",
  428. "type" => "integer",
  429. "value" => "0",
  430. "cfgsec" => "general",
  431. "hide_from_user" => true
  432. )
  433. // End Obscure options
  434. );
  435. // For emacs:
  436. // Local variables:
  437. // c-basic-offset: 4
  438. // c-indent-level: 4
  439. // tab-width: 4
  440. // End:
  441. ?>