Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

branding.h 5.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. #ifndef CONFIG_BRANDING_H
  2. #define CONFIG_BRANDING_H
  3. /** @file
  4. *
  5. * Branding configuration
  6. *
  7. */
  8. FILE_LICENCE ( GPL2_OR_LATER );
  9. #include <config/defaults.h>
  10. /*
  11. * Branding
  12. *
  13. * Vendors may use these strings to add their own branding to iPXE.
  14. * PRODUCT_NAME is displayed prior to any iPXE branding in startup
  15. * messages, and PRODUCT_SHORT_NAME is used where a brief product
  16. * label is required (e.g. in BIOS boot selection menus).
  17. *
  18. * To minimise end-user confusion, it's probably a good idea to either
  19. * make PRODUCT_SHORT_NAME a substring of PRODUCT_NAME or leave it as
  20. * "iPXE".
  21. *
  22. */
  23. #define PRODUCT_NAME ""
  24. #define PRODUCT_SHORT_NAME "iPXE"
  25. #define PRODUCT_URI "http://ipxe.org"
  26. /*
  27. * Error messages
  28. *
  29. * iPXE error messages comprise a summary error message
  30. * (e.g. "Permission denied") and a 32-bit error number. This number
  31. * is incorporated into an error URI such as
  32. *
  33. * "No such file or directory (http://ipxe.org/2d0c613b)"
  34. *
  35. * or
  36. *
  37. * "Operation not supported (http://ipxe.org/3c092003)"
  38. *
  39. * Users may browse to the URI within the error message, which is
  40. * provided by a database running on the iPXE web site
  41. * (http://ipxe.org). This database provides details for all possible
  42. * errors generated by iPXE, including:
  43. *
  44. * - the detailed error message (e.g. "Not an OCSP signing
  45. * certificate") to complement the summary message (e.g. "Permission
  46. * denied") which is compiled into the iPXE binary.
  47. *
  48. * - an instruction to the user to upgrade, if the error cannot be
  49. * generated by the latest version of iPXE.
  50. *
  51. * - hints on how to fix the error (e.g. "This error indicates that
  52. * the file was not found on the TFTP server. Check that you can
  53. * retrieve the file using an alternative TFTP client, such as
  54. * tftp-hpa on Linux.")
  55. *
  56. * - details of which source file within the iPXE codebase generated
  57. * the error.
  58. *
  59. * - a direct link to the line(s) of code which generated the error.
  60. *
  61. * If you have a customer support team and would like your customers
  62. * to contact your support team for all problems, instead of using the
  63. * existing support infrastructure provided by http://ipxe.org, then
  64. * you may define a custom URI to be included within error messages.
  65. *
  66. * Note that the custom URI is a printf() format string which must
  67. * include a format specifier for the 32-bit error number.
  68. */
  69. #define PRODUCT_ERROR_URI "http://ipxe.org/%08x"
  70. /*
  71. * Command help messages
  72. *
  73. * iPXE command help messages include a URI constructed from the
  74. * command name, such as
  75. *
  76. * "See http://ipxe.org/cmd/vcreate for further information"
  77. *
  78. * The iPXE web site includes documentation for the commands provided
  79. * by the iPXE shell, including:
  80. *
  81. * - details of the command syntax (e.g. "vcreate --tag <tag>
  82. * [--priority <priority>] <trunk interface>").
  83. *
  84. * - example usages of the command (e.g. "vcreate --tag 123 net0")
  85. *
  86. * - a formal description of the command (e.g. "Create a VLAN network
  87. * interface on an existing trunk network interface. The new network
  88. * interface will be named by appending a hyphen and the VLAN tag
  89. * value to the trunk network interface name.")
  90. *
  91. * - details of the possible exit statuses from the command.
  92. *
  93. * - links to documentation for related commands (e.g. "vdestroy")
  94. *
  95. * - links to documentation for relevant build options (e.g. "VLAN_CMD").
  96. *
  97. * - general hints and tips on using the command.
  98. *
  99. * If you want to provide your own documentation for all of the
  100. * commands provided by the iPXE shell, rather than using the existing
  101. * support infrastructure provided by http://ipxe.org, then you may
  102. * define a custom URI to be included within command help messages.
  103. *
  104. * Note that the custom URI is a printf() format string which must
  105. * include a format specifier for the command name.
  106. *
  107. * [ Please also note that the existing documentation is licensed
  108. * under Creative Commons terms which require attribution to the
  109. * iPXE project and prohibit the alteration or removal of any
  110. * references to "iPXE". ]
  111. */
  112. #define PRODUCT_COMMAND_URI "http://ipxe.org/cmd/%s"
  113. /*
  114. * Setting help messages
  115. *
  116. * iPXE setting help messages include a URI constructed from the
  117. * setting name, such as
  118. *
  119. * "http://ipxe.org/cfg/initiator-iqn"
  120. *
  121. * The iPXE web site includes documentation for the settings used by
  122. * iPXE, including:
  123. *
  124. * - details of the corresponding DHCP option number.
  125. *
  126. * - details of the corresponding ISC dhcpd option name.
  127. *
  128. * - examples of using the setting from the iPXE command line, or in
  129. * iPXE scripts.
  130. *
  131. * - examples of configuring the setting via a DHCP server.
  132. *
  133. * - a formal description of the setting.
  134. *
  135. * - links to documentation for related settings.
  136. *
  137. * - links to documentation for relevant build options.
  138. *
  139. * - general notes about the setting.
  140. *
  141. * If you want to provide your own documentation for all of the
  142. * settings used by iPXE, rather than using the existing support
  143. * infrastructure provided by http://ipxe.org, then you may define a
  144. * custom URI to be included within setting help messages.
  145. *
  146. * Note that the custom URI is a printf() format string which must
  147. * include a format specifier for the setting name.
  148. *
  149. * [ Please also note that the existing documentation is licensed
  150. * under Creative Commons terms which require attribution to the
  151. * iPXE project and prohibit the alteration or removal of any
  152. * references to "iPXE". ]
  153. */
  154. #define PRODUCT_SETTING_URI "http://ipxe.org/cfg/%s"
  155. #include <config/local/branding.h>
  156. #endif /* CONFIG_BRANDING_H */