Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Stefan Hajnoczi f3aef4d98d [Contribs] Fix multi-line POSIX errno definitions. 16 роки тому
..
README [Contribs] Add simple IRC bot for looking up error codes. 16 роки тому
build_errcodedb.py [Contribs] Fix multi-line POSIX errno definitions. 16 роки тому
errcode.php [Contribs] Add README, license text, and invert error code dictionaries. 16 роки тому
errcode.py [Contribs] Add simple IRC bot for looking up error codes. 16 роки тому
gpxebot.py [Contribs] Fix parsing bug in errcode.py 16 роки тому

README

Error Code Lookup for gPXE
==========================
This program looks up gPXE error codes so you can locate the line of source
code which produced the error.

Setup
-----
You must run:
./build_errcodedb.py >errcodedb.py

This extracts error code definitions from the gPXE source code and produces a
"database" which is used by the main program.

Once you have done this errcode.py and errcodedb.py are the only files you
need. They are now independent of the gPXE source code and can be moved
anywhere.

[OPTIONAL]
A PHP script is provided as a web interface. First edit errcode.php to point
$ERRCODE_PATH to the errcode.py script. Then move errcode.php to a location
visible from your web server.

[OPTIONAL]
A simple IRC bot is provided. Edit gpxebot.py to fill in the IRC details.

Usage
-----
Looking up error codes on the command-line:
./errcode.py 0x12345678

Further information
-------------------
See http://etherboot.org/.

Released under the GPL and written by Stefan Hajnoczi <stefanha@gmail.com>.